summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-23 13:31:27 -0700
committerTom Rini <trini@konsulko.com>2017-01-25 17:38:45 -0500
commita8523a808fd05e4b1c1df63bc40744dd3fd318f4 (patch)
treecfd3c2411c94e762da5c76a25f37cec378c88373 /common/board_r.c
parenta009f36cfef6c4f60ce7f8d70e3ae8dd98537e30 (diff)
downloadu-boot-a8523a808fd05e4b1c1df63bc40744dd3fd318f4.tar.gz
u-boot-a8523a808fd05e4b1c1df63bc40744dd3fd318f4.tar.bz2
u-boot-a8523a808fd05e4b1c1df63bc40744dd3fd318f4.zip
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>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 419471cfb8..48fa4ee524 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -619,15 +619,6 @@ static int initr_scsi(void)
}
#endif
-#if defined(CONFIG_CMD_DOC)
-static int initr_doc(void)
-{
- puts("DOC: ");
- doc_init();
- return 0;
-}
-#endif
-
#ifdef CONFIG_BITBANGMII
static int initr_bbmii(void)
{
@@ -913,10 +904,6 @@ init_fnc_t init_sequence_r[] = {
INIT_FUNC_WATCHDOG_RESET
initr_scsi,
#endif
-#ifdef CONFIG_CMD_DOC
- INIT_FUNC_WATCHDOG_RESET
- initr_doc,
-#endif
#ifdef CONFIG_BITBANGMII
initr_bbmii,
#endif