X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=api%2Fapi_storage.c;h=6fc6f44925ccecbc863a50cc3263d6710b63fd31;hb=da372af6e40d84e8a47baa41d22dd3e953469b74;hp=8bed2f3c91fd37a400c793d03cfae4d0669a3373;hpb=821560fd8e43eecc208c1c52ad24faadb6b52703;p=u-boot diff --git a/api/api_storage.c b/api/api_storage.c index 8bed2f3c91..6fc6f44925 100644 --- a/api/api_storage.c +++ b/api/api_storage.c @@ -63,7 +63,7 @@ void dev_stor_init(void) specs[ENUM_MMC].type = DEV_TYP_STOR | DT_STOR_MMC; specs[ENUM_MMC].name = "mmc"; #endif -#if defined(CONFIG_CMD_SATA) +#if defined(CONFIG_SATA) specs[ENUM_SATA].max_dev = CONFIG_SYS_SATA_MAX_DEVICE; specs[ENUM_SATA].enum_started = 0; specs[ENUM_SATA].enum_ended = 0;