u-boot: support emmc version

Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
carbon
2024-08-05 11:16:00 +08:00
parent 1762d05e39
commit 87aae6cc86

View File

@ -210,7 +210,7 @@
#else
#define ROOTARGS "ubi.mtd=ROOTFS ubi.block=0,0"
#endif /* CONFIG_SKIP_RAMDISK */
#elif defined(CONFIG_SD_BOOT)
#elif defined(CONFIG_SD_BOOT) || defined(CONFIG_EMMC_SUPPORT)
#define ROOTARGS "root=" ROOTFS_DEV " rootwait rw"
#else
#define ROOTARGS "rootfstype=squashfs rootwait ro root=" ROOTFS_DEV