]> Git Repo - J-u-boot.git/commitdiff
vexpress64: Add MMC card to the BOOT_TARGET_DEVICES of FVP
authorWei Chen <[email protected]>
Wed, 18 Oct 2023 06:27:45 +0000 (14:27 +0800)
committerTom Rini <[email protected]>
Sat, 28 Oct 2023 01:02:08 +0000 (21:02 -0400)
Add MMC disk to FVP's BOOT_TARGET_DEVICES. This allows the user to boot
from MMC devices.

Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Qi Feng <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
include/configs/vexpress_aemv8.h

index 43f7e454d812f24778e3e9a845fd7e6537382ac1..24d8ca086653056acef083f619dfeebad0e9bce1 100644 (file)
 #define FUNC_VIRTIO(func)
 #endif
 
+#ifdef CONFIG_CMD_MMC
+#define FUNC_MMC(func) func(MMC, mmc, 0)
+#else
+#define FUNC_MMC(func)
+#endif
+
 /*
  * Boot by loading an Android image, or kernel, initrd and FDT through
  * semihosting into DRAM.
        func(SMH, smh, na)              \
        func(MEM, mem, na)              \
        FUNC_VIRTIO(func)               \
+       FUNC_MMC(func)                  \
        func(PXE, pxe, na)              \
        func(DHCP, dhcp, na)
 
This page took 0.033535 seconds and 4 git commands to generate.