summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-04-27 16:33:58 -0400
committerTom Rini <[email protected]>2023-04-27 16:33:58 -0400
commitb197f1f05dee730e173a0756cb1a5f2be5d3ba5b (patch)
tree1a6497490d05e29ed05e14a94e7fdbfb31b35b6a /common
parentcaf0a88d9f317aecada0cece5d7f9df371058805 (diff)
parent22a7ae3675899985964eaec418474ab525975c0e (diff)
Merge branch '2023-04-27-IDE-code-cleanups'
To quote the author: This code was converted to driver model a long time again but it was a pretty rough conversion. It introduced a few minor bugs, e.g. the device capacity is incorrect and some flags are lost (such as lba48). This series tidies up the code and fixes these bugs. This involves quite a bit of refactoring, so it is done one patch at a time for easier review.
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 6b4180b3ecd..d798c00a80a 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -519,20 +519,6 @@ static int initr_post(void)
}
#endif
-#if defined(CONFIG_IDE) && !defined(CONFIG_BLK)
-static int initr_ide(void)
-{
- puts("IDE: ");
-#if defined(CONFIG_START_IDE)
- if (board_start_ide())
- ide_init();
-#else
- ide_init();
-#endif
- return 0;
-}
-#endif
-
#if defined(CFG_PRAM)
/*
* Export available size of memory for Linux, taking into account the
@@ -783,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
/*