]> git.sur5r.net Git - u-boot/blobdiff - api/api_storage.c
Kconfig: Add a CONFIG_IDE option
[u-boot] / api / api_storage.c
index a5357bc9cf83c50eded8509406a06809548b5b74..f858f09f1a0eabfefcb35a2d038fffa9a106b700 100644 (file)
@@ -46,7 +46,7 @@ static struct stor_spec specs[ENUM_MAX] = { { 0, 0, 0, 0, NULL }, };
 
 void dev_stor_init(void)
 {
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
        specs[ENUM_IDE].max_dev = CONFIG_SYS_IDE_MAXDEVICE;
        specs[ENUM_IDE].enum_started = 0;
        specs[ENUM_IDE].enum_ended = 0;