X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=api%2Fapi_storage.c;h=6fc6f44925ccecbc863a50cc3263d6710b63fd31;hb=74caed0e33a46343a3f63677e206ee21f564cc6f;hp=8bed2f3c91fd37a400c793d03cfae4d0669a3373;hpb=6d7a57076476789c77d59a0e8b47fc975de7231e;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;