sifive-fu540: config: Add mmc0 as a boot target device
authorAlistair Francis <alistair.francis@wdc.com>
Fri, 16 Aug 2019 18:00:00 +0000 (11:00 -0700)
committerAndes <uboot@andestech.com>
Tue, 3 Sep 2019 01:30:06 +0000 (09:30 +0800)
Add the mmc0 device as a BOOT_TARGET_DEVICES.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/configs/sifive-fu540.h

index 858b7a7da1dbc38b5c3b0eb94492ab0e9c542e1a..736ceb1f4855686e1ca44cc2ee62f60db84c5ccc 100644 (file)
@@ -26,6 +26,7 @@
 #define CONFIG_ENV_SIZE                        SZ_128K
 
 #define BOOT_TARGET_DEVICES(func) \
+       func(MMC, mmc, 0) \
        func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>