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>
This commit is contained in:
@@ -622,15 +622,6 @@ int do_mplcommon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||||||
return cmd_usage(cmdtp);
|
return cmd_usage(cmdtp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_DOC)
|
|
||||||
void doc_init (void)
|
|
||||||
{
|
|
||||||
doc_probe(MULTI_PURPOSE_SOCKET_ADDR);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_VIDEO
|
#ifdef CONFIG_VIDEO
|
||||||
/******************************************************
|
/******************************************************
|
||||||
* Routines to display the Board information
|
* Routines to display the Board information
|
||||||
|
@@ -23,8 +23,5 @@ int get_boot_mode(void);
|
|||||||
void setup_cs_reloc(void);
|
void setup_cs_reloc(void);
|
||||||
|
|
||||||
void check_env(void);
|
void check_env(void);
|
||||||
#if defined(CONFIG_CMD_DOC)
|
|
||||||
void doc_init (void);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _COMMON_UTIL_H_ */
|
#endif /* _COMMON_UTIL_H_ */
|
||||||
|
@@ -619,15 +619,6 @@ static int initr_scsi(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_DOC)
|
|
||||||
static int initr_doc(void)
|
|
||||||
{
|
|
||||||
puts("DOC: ");
|
|
||||||
doc_init();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_BITBANGMII
|
#ifdef CONFIG_BITBANGMII
|
||||||
static int initr_bbmii(void)
|
static int initr_bbmii(void)
|
||||||
{
|
{
|
||||||
@@ -913,10 +904,6 @@ init_fnc_t init_sequence_r[] = {
|
|||||||
INIT_FUNC_WATCHDOG_RESET
|
INIT_FUNC_WATCHDOG_RESET
|
||||||
initr_scsi,
|
initr_scsi,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_CMD_DOC
|
|
||||||
INIT_FUNC_WATCHDOG_RESET
|
|
||||||
initr_doc,
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_BITBANGMII
|
#ifdef CONFIG_BITBANGMII
|
||||||
initr_bbmii,
|
initr_bbmii,
|
||||||
#endif
|
#endif
|
||||||
|
@@ -346,9 +346,6 @@ extern ulong load_addr; /* Default Load Address */
|
|||||||
extern ulong save_addr; /* Default Save Address */
|
extern ulong save_addr; /* Default Save Address */
|
||||||
extern ulong save_size; /* Default Save Size */
|
extern ulong save_size; /* Default Save Size */
|
||||||
|
|
||||||
/* common/cmd_doc.c */
|
|
||||||
void doc_probe(unsigned long physadr);
|
|
||||||
|
|
||||||
/* common/cmd_net.c */
|
/* common/cmd_net.c */
|
||||||
int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
|
int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
|
||||||
|
|
||||||
|
@@ -20,7 +20,6 @@
|
|||||||
#define CONFIG_CMD_DATE /* support for RTC, date/time...*/
|
#define CONFIG_CMD_DATE /* support for RTC, date/time...*/
|
||||||
#define CONFIG_CMD_DIAG /* Diagnostics */
|
#define CONFIG_CMD_DIAG /* Diagnostics */
|
||||||
#define CONFIG_CMD_DISPLAY /* Display support */
|
#define CONFIG_CMD_DISPLAY /* Display support */
|
||||||
#define CONFIG_CMD_DOC /* Disk-On-Chip Support */
|
|
||||||
#define CONFIG_CMD_DTT /* Digital Therm and Thermostat */
|
#define CONFIG_CMD_DTT /* Digital Therm and Thermostat */
|
||||||
#define CONFIG_CMD_EEPROM /* EEPROM read/write support */
|
#define CONFIG_CMD_EEPROM /* EEPROM read/write support */
|
||||||
#define CONFIG_CMD_FDC /* Floppy Disk Support */
|
#define CONFIG_CMD_FDC /* Floppy Disk Support */
|
||||||
|
@@ -489,7 +489,6 @@ CONFIG_CMD_DEKBLOB
|
|||||||
CONFIG_CMD_DFL
|
CONFIG_CMD_DFL
|
||||||
CONFIG_CMD_DIAG
|
CONFIG_CMD_DIAG
|
||||||
CONFIG_CMD_DISPLAY
|
CONFIG_CMD_DISPLAY
|
||||||
CONFIG_CMD_DOC
|
|
||||||
CONFIG_CMD_DS4510
|
CONFIG_CMD_DS4510
|
||||||
CONFIG_CMD_DS4510_INFO
|
CONFIG_CMD_DS4510_INFO
|
||||||
CONFIG_CMD_DS4510_MEM
|
CONFIG_CMD_DS4510_MEM
|
||||||
|
Reference in New Issue
Block a user