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