summaryrefslogtreecommitdiff
path: root/board/phytec
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 03:25:30 -0600
committerTom Rini <trini@konsulko.com>2017-05-22 12:45:27 -0400
commitfc843a02acad62e231a3e779cebd1712688146fc (patch)
treeb2811ec28b2378f0b471d3173e59768834d41929 /board/phytec
parent75eb9976b78ace0e667c1f5faf367acfaed141df (diff)
downloadu-boot-fc843a02acad62e231a3e779cebd1712688146fc.tar.gz
u-boot-fc843a02acad62e231a3e779cebd1712688146fc.tar.bz2
u-boot-fc843a02acad62e231a3e779cebd1712688146fc.zip
Kconfig: Add a CONFIG_IDE option
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate CONFIG_IDE option so that IDE support can be enabled without requiring the 'ide' command. Update existing users and move the ide driver into drivers/block since it should not be in common/. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/phytec')
-rw-r--r--board/phytec/pcm030/pcm030.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/phytec/pcm030/pcm030.c b/board/phytec/pcm030/pcm030.c
index 983559e81e..bdd980da91 100644
--- a/board/phytec/pcm030/pcm030.c
+++ b/board/phytec/pcm030/pcm030.c
@@ -176,7 +176,7 @@ int ft_board_setup(void *blob, bd_t *bd)
}
#endif /* CONFIG_OF_BOARD_SETUP */
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET)
#define GPIO_PSC2_4 0x02000000UL
@@ -206,4 +206,4 @@ void ide_set_reset(int idereset)
} else
setbits_be32(&wu_gpio->dvo, GPIO_PSC2_4);
}
-#endif /* defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET) */
+#endif /* defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET) */