aboutsummaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-04-25 10:54:29 -0600
committerTom Rini <trini@konsulko.com>2023-04-27 13:51:06 -0400
commit00a79f21c1c178d312635b96035da6aa48eb5321 (patch)
treefbfb36f244923bb4c3dd3c5f5d2210645cf25a5e /common/board_r.c
parent091785110031efe1f417a727ac7db68f2beb3116 (diff)
downloadu-boot-00a79f21c1c178d312635b96035da6aa48eb5321.zip
u-boot-00a79f21c1c178d312635b96035da6aa48eb5321.tar.gz
u-boot-00a79f21c1c178d312635b96035da6aa48eb5321.tar.bz2
ide: Drop init for not using BLK
ALl boards use CONFIG_BLK now so this code is not used. Drop it and the header-file #ifdef Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 7076af6..d798c00 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -519,15 +519,6 @@ static int initr_post(void)
}
#endif
-#if defined(CONFIG_IDE) && !defined(CONFIG_BLK)
-static int initr_ide(void)
-{
- puts("IDE: ");
- ide_init();
- return 0;
-}
-#endif
-
#if defined(CFG_PRAM)
/*
* Export available size of memory for Linux, taking into account the
@@ -778,9 +769,6 @@ static init_fnc_t init_sequence_r[] = {
#ifdef CONFIG_POST
initr_post,
#endif
-#if defined(CONFIG_IDE) && !defined(CONFIG_BLK)
- initr_ide,
-#endif
#ifdef CONFIG_LAST_STAGE_INIT
INIT_FUNC_WATCHDOG_RESET
/*