summaryrefslogtreecommitdiff
path: root/api/api_storage.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:27:06 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 10:08:55 -0500
commit9ba938e744d81e0164f5abbd087c461596ad63d4 (patch)
tree7edb63eb23c0c9f2c52ef9d363ebaa83722814e1 /api/api_storage.c
parent75fc79e530eb01428ba4064b2693214efdfb2ee2 (diff)
downloadu-boot-9ba938e744d81e0164f5abbd087c461596ad63d4.tar.gz
u-boot-9ba938e744d81e0164f5abbd087c461596ad63d4.tar.bz2
u-boot-9ba938e744d81e0164f5abbd087c461596ad63d4.zip
Convert CONFIG_SYS_MMC_MAX_DEVICE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_DEVICE Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'api/api_storage.c')
-rw-r--r--api/api_storage.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index adca44b4fd..997e8727a9 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -44,10 +44,6 @@ struct stor_spec {
static struct stor_spec specs[ENUM_MAX] = { { 0, 0, 0, 0, NULL }, };
-#ifndef CONFIG_SYS_MMC_MAX_DEVICE
-#define CONFIG_SYS_MMC_MAX_DEVICE 1
-#endif
-
void dev_stor_init(void)
{
#if defined(CONFIG_IDE)