spl: mmc: split spl_mmc_do_fs_boot into regular/os_boot
authorAnshul Dalal <anshuld@ti.com>
Fri, 17 Oct 2025 19:33:07 +0000 (01:03 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 20 Oct 2025 16:14:00 +0000 (10:14 -0600)
commit2909b3bff076746938389b2ef320eea68c2b93db
treeed2e11cf948ad86f0aebb8f52975d19d4056438e
parenta3e67a96452983ae3b35a78cb2910f14fda9dd86
spl: mmc: split spl_mmc_do_fs_boot into regular/os_boot

Currently the logic to handle falcon mode as well as the regular boot is
inside spl_mmc_do_fs_boot, this prevents us from cleanly extending
falcon mode functionality like toggleable fallback to U-Boot proper.

Therefore this patch splits the logic into spl_mmc_fs_load and
spl_mmc_fs_load_os to handle the regular boot and falcon mode use case.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
common/spl/spl_mmc.c