summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWei Chen <[email protected]>2023-10-18 14:27:45 +0800
committerTom Rini <[email protected]>2023-10-27 21:02:08 -0400
commit86a5741c340f14bdd2f202019e2b7f093c7a64de (patch)
tree397b5dffa72c827a3fa556cb0d337743b87d56c0 /include
parentffdb85bfcfd79a432a9379a9a13680699eb686fb (diff)
vexpress64: Add MMC card to the BOOT_TARGET_DEVICES of FVP
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]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/vexpress_aemv8.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/vexpress_aemv8.h b/include/configs/vexpress_aemv8.h
index 43f7e454d81..24d8ca08665 100644
--- a/include/configs/vexpress_aemv8.h
+++ b/include/configs/vexpress_aemv8.h
@@ -148,6 +148,12 @@
#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.
@@ -204,6 +210,7 @@
func(SMH, smh, na) \
func(MEM, mem, na) \
FUNC_VIRTIO(func) \
+ FUNC_MMC(func) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)