From 091785110031efe1f417a727ac7db68f2beb3116 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 25 Apr 2023 10:54:28 -0600 Subject: [PATCH] ide: Drop CONFIG_START_IDE This is not used by any board. Drop it. Signed-off-by: Simon Glass --- common/board_r.c | 5 ----- include/ide.h | 7 ------- 2 files changed, 12 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index 6b4180b3ec..7076af64f5 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -523,12 +523,7 @@ static int initr_post(void) 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 diff --git a/include/ide.h b/include/ide.h index 58f6640c61..9c0d40364a 100644 --- a/include/ide.h +++ b/include/ide.h @@ -47,11 +47,4 @@ void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts); void ide_led(uchar led, uchar status); -/** - * board_start_ide() - Start up the board IDE interfac - * - * Return: 0 if ok - */ -int board_start_ide(void); - #endif /* _IDE_H */ -- 2.39.5