[PATCH 0/4] Fixes for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION* and for SOCFPGA

Jan Kiszka jan.kiszka at siemens.com
Fri Nov 14 18:13:37 CET 2025


Several fixes needed after the mmc raw-mode was consolidated a while
ago. Not all the fallouts can be blamed to that refactoring. It also
looks to me like booting from mmc just worked by chance before.

This series now permits U-Boot proper loading from SPL via partition
type, at least on the DE0-Nano-SoC (other boards not available for
testing).

Jan

Jan Kiszka (4):
  spl: mmc: Respect sector value passed to mmc_load_image_raw_partition
  spl: mmc: Account for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
    being a choice
  arch: arm: mach-socfpga: Adjust a raw sectors for MMC loading of
    U-Boot from SPL
  configs: socfpga: Fix de0_nano_soc boot

 arch/arm/mach-socfpga/board.c          |  9 +++++++++
 common/spl/Kconfig                     |  1 +
 common/spl/spl_mmc.c                   | 20 ++++++++------------
 configs/socfpga_de0_nano_soc_defconfig |  1 +
 include/part.h                         |  3 ++-
 5 files changed, 21 insertions(+), 13 deletions(-)

-- 
2.51.0



More information about the U-Boot mailing list