[PATCH v2 0/2] spl: spl_nor: add alternative SPL_LOAD_IMAGE_METHOD

Mario Kicherer dev at kicherer.org
Thu Jan 19 16:28:20 CET 2023


Add a second SPL_LOAD_IMAGE_METHOD BOOT_DEVICE_NOR2 to enable booting
from an alternative NOR address in case loading from the first address
fails - e.g., if no valid header is found.

Changes since v1:
 - addressed right email recipients

Mario Kicherer (2):
  spl: spl_nor: add BOOT_DEVICE_NOR2 as alternative
    SPL_LOAD_IMAGE_METHOD
  spl: spl_nor: add spl_boot_device parameter to
    spl_nor_get_uboot_base()

 arch/arm/include/asm/spl.h             |  1 +
 arch/arm/mach-imx/image-container.c    |  2 +-
 arch/mips/include/asm/spl.h            |  1 +
 arch/mips/mach-mtmips/mt7621/spl/spl.c |  2 +-
 arch/mips/mach-mtmips/spl.c            |  2 +-
 arch/riscv/include/asm/spl.h           |  1 +
 common/spl/spl_nor.c                   | 11 ++++++-----
 7 files changed, 12 insertions(+), 8 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list