mach-k3: add eMMC FS boot support for am62[ap]
authorAnshul Dalal <anshuld@ti.com>
Tue, 15 Apr 2025 09:52:24 +0000 (15:22 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Apr 2025 14:24:21 +0000 (08:24 -0600)
commit3b7893145e3621574f01e0bfde1277ec730dc5b6
tree65f66bb3b342db900eec63dccdc764e67660d243
parent243a6dbfb680f9773e3c2a1e2e17e69068830666
mach-k3: add eMMC FS boot support for am62[ap]

This makes spl_mmc_boot_mode consistent across am62x, 62a and 62p.

If MMCSD_MODE_EMMCBOOT is returned, FS boot fails since it checks for FS
on the hardware partitions, not the UDA. So to allow FS boot from EMMC,
the function should return MMCSD_MODE_FS instead which allows us to read
from FS on the UDA.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
arch/arm/mach-k3/am62ax/am62a7_init.c
arch/arm/mach-k3/am62px/am62p5_init.c