Commit a8523a808fd05e4b1c1df63bc40744dd3fd318f4
Committed by
Tom Rini
1 parent
a009f36cfe
Exists in
smarc_8mq_lf_v2020.04
and in
22 other branches
Drop CONFIG_CMD_DOC
This is not used in U-Boot, and the only usage calls a non-existent function. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Showing 6 changed files with 0 additions and 30 deletions Side-by-side Diff
board/mpl/common/common_util.c
... | ... | @@ -622,15 +622,6 @@ |
622 | 622 | return cmd_usage(cmdtp); |
623 | 623 | } |
624 | 624 | |
625 | - | |
626 | -#if defined(CONFIG_CMD_DOC) | |
627 | -void doc_init (void) | |
628 | -{ | |
629 | - doc_probe(MULTI_PURPOSE_SOCKET_ADDR); | |
630 | -} | |
631 | -#endif | |
632 | - | |
633 | - | |
634 | 625 | #ifdef CONFIG_VIDEO |
635 | 626 | /****************************************************** |
636 | 627 | * Routines to display the Board information |
board/mpl/common/common_util.h
common/board_r.c
... | ... | @@ -619,15 +619,6 @@ |
619 | 619 | } |
620 | 620 | #endif |
621 | 621 | |
622 | -#if defined(CONFIG_CMD_DOC) | |
623 | -static int initr_doc(void) | |
624 | -{ | |
625 | - puts("DOC: "); | |
626 | - doc_init(); | |
627 | - return 0; | |
628 | -} | |
629 | -#endif | |
630 | - | |
631 | 622 | #ifdef CONFIG_BITBANGMII |
632 | 623 | static int initr_bbmii(void) |
633 | 624 | { |
... | ... | @@ -912,10 +903,6 @@ |
912 | 903 | #if defined(CONFIG_SCSI) && !defined(CONFIG_DM_SCSI) |
913 | 904 | INIT_FUNC_WATCHDOG_RESET |
914 | 905 | initr_scsi, |
915 | -#endif | |
916 | -#ifdef CONFIG_CMD_DOC | |
917 | - INIT_FUNC_WATCHDOG_RESET | |
918 | - initr_doc, | |
919 | 906 | #endif |
920 | 907 | #ifdef CONFIG_BITBANGMII |
921 | 908 | initr_bbmii, |
include/common.h
... | ... | @@ -346,9 +346,6 @@ |
346 | 346 | extern ulong save_addr; /* Default Save Address */ |
347 | 347 | extern ulong save_size; /* Default Save Size */ |
348 | 348 | |
349 | -/* common/cmd_doc.c */ | |
350 | -void doc_probe(unsigned long physadr); | |
351 | - | |
352 | 349 | /* common/cmd_net.c */ |
353 | 350 | int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); |
354 | 351 |
include/config_cmd_all.h
... | ... | @@ -20,7 +20,6 @@ |
20 | 20 | #define CONFIG_CMD_DATE /* support for RTC, date/time...*/ |
21 | 21 | #define CONFIG_CMD_DIAG /* Diagnostics */ |
22 | 22 | #define CONFIG_CMD_DISPLAY /* Display support */ |
23 | -#define CONFIG_CMD_DOC /* Disk-On-Chip Support */ | |
24 | 23 | #define CONFIG_CMD_DTT /* Digital Therm and Thermostat */ |
25 | 24 | #define CONFIG_CMD_EEPROM /* EEPROM read/write support */ |
26 | 25 | #define CONFIG_CMD_FDC /* Floppy Disk Support */ |