diff options
Diffstat (limited to 'env/fat.c')
-rw-r--r-- | env/fat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/env/fat.c b/env/fat.c index e6bd1f915dc..19f260e881a 100644 --- a/env/fat.c +++ b/env/fat.c @@ -89,6 +89,9 @@ static int env_fat_load(void) int dev, part; int err; + if (!strcmp(CONFIG_ENV_FAT_INTERFACE, "mmc")) + mmc_initialize(NULL); + part = blk_get_device_part_str(CONFIG_ENV_FAT_INTERFACE, CONFIG_ENV_FAT_DEVICE_AND_PART, &dev_desc, &info, 1); |