summaryrefslogtreecommitdiff
path: root/include/configs/qemu-x86.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 09:25:30 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-22 16:45:27 (GMT)
commitfc843a02acad62e231a3e779cebd1712688146fc (patch)
treeb2811ec28b2378f0b471d3173e59768834d41929 /include/configs/qemu-x86.h
parent75eb9976b78ace0e667c1f5faf367acfaed141df (diff)
downloadu-boot-fc843a02acad62e231a3e779cebd1712688146fc.tar.xz
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/qemu-x86.h')
-rw-r--r--include/configs/qemu-x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index b751ad5..3509c2f 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -25,9 +25,9 @@
* - AHCI controller is supported for QEMU '-M q35' target
*
* Default configuraion is to support the QEMU default x86 target
- * Undefine CONFIG_CMD_IDE to support q35 target
+ * Undefine CONFIG_IDE to support q35 target
*/
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
#define CONFIG_SYS_IDE_MAXBUS 2
#define CONFIG_SYS_IDE_MAXDEVICE 4
#define CONFIG_SYS_ATA_BASE_ADDR 0