summaryrefslogtreecommitdiff
path: root/include/configs/nsa310s.h
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 /include/configs/nsa310s.h
parent75eb9976b78ace0e667c1f5faf367acfaed141df (diff)
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 'include/configs/nsa310s.h')
-rw-r--r--include/configs/nsa310s.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h
index b988d3d7f9..9b99b0e44f 100644
--- a/include/configs/nsa310s.h
+++ b/include/configs/nsa310s.h
@@ -79,12 +79,12 @@
#endif /* CONFIG_CMD_NET */
/* SATA driver configuration */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
#define __io
#define CONFIG_IDE_PREINIT
#define CONFIG_MVSATA_IDE_USE_PORT0
#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
/* RTC driver configuration */
#ifdef CONFIG_CMD_DATE