diff options
author | Udit Kumar <u-kumar1@ti.com> | 2023-05-11 14:47:50 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-01 12:32:04 -0400 |
commit | 5019170970ad9ae6ff9c8d527e0c1042f6e0b8c1 (patch) | |
tree | 884c55df939517fde606b8e601680d7fc177db5f /arch | |
parent | 0eade94f80cd9f83c8e95e8532415530cdbc2890 (diff) | |
download | u-boot-5019170970ad9ae6ff9c8d527e0c1042f6e0b8c1.zip u-boot-5019170970ad9ae6ff9c8d527e0c1042f6e0b8c1.tar.gz u-boot-5019170970ad9ae6ff9c8d527e0c1042f6e0b8c1.tar.bz2 |
arch: arm: mach-k3: j721e: add support for UDA FS
When selecting UDA partition for booting. MMC read
mode was selected as RAW.
Due to growing/changing size of u-boot and tispl
images.
It will be better change to FS in case of UDA FS instead of
adjusting offsets with new change.
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-k3/j721e_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c index 0c5d41a..b616457 100644 --- a/arch/arm/mach-k3/j721e_init.c +++ b/arch/arm/mach-k3/j721e_init.c @@ -294,7 +294,7 @@ u32 spl_mmc_boot_mode(struct mmc *mmc, const u32 boot_device) { switch (boot_device) { case BOOT_DEVICE_MMC1: - return MMCSD_MODE_EMMCBOOT; + return (spl_mmc_emmc_boot_partition(mmc) ? MMCSD_MODE_EMMCBOOT : MMCSD_MODE_FS); case BOOT_DEVICE_MMC2: return MMCSD_MODE_FS; default: |