summaryrefslogtreecommitdiffstats
path: root/common/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ide.c')
-rw-r--r--common/ide.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/ide.c b/common/ide.c
index adc1966efa..5dc90d45ec 100644
--- a/common/ide.c
+++ b/common/ide.c
@@ -890,13 +890,6 @@ void ide_init(void)
WATCHDOG_RESET();
}
-#ifdef CONFIG_PARTITIONS
-struct blk_desc *ide_get_dev(int dev)
-{
- return (dev < CONFIG_SYS_IDE_MAXDEVICE) ? &ide_dev_desc[dev] : NULL;
-}
-#endif
-
/* We only need to swap data if we are running on a big endian cpu. */
#if defined(__LITTLE_ENDIAN)
__weak void ide_input_swap_data(int dev, ulong *sect_buf, int words)
OpenPOWER on IntegriCloud