[PATCH v2 0/3] rockchip: spl: Cache boot source id for later use

Jonas Karlman jonas at kwiboo.se
Fri Mar 22 21:50:19 CET 2024


This series fixes an issue where /chosen/u-boot,spl-boot-device prop
cannot be resolved to the SPI flash node path in spl_perform_fixups() if
the affected device was booted from SPI flash.

Changes in v2:
- Add patch that sync boot source id enum with bootrom
- Add patch that adds missing SPI flash node path for SoCs with DTs
  having a jedec,spi-nor compatible flash at 0 node.
- Only cache boot source id that can be resolved to a node path
- Make use of synced BROM_BOOTSOURCE_UNKNOWN enum value
- Update commit message
- Add fixes tag
- Collect r-b tag

Jason Zhu (1):
  rockchip: bootrom: Sync bootsource id enum from bootrom

Jonas Karlman (2):
  rockchip: spl: Cache boot source id for later use
  rockchip: spl: Add SPI NOR flash to boot_devices array

 arch/arm/include/asm/arch-rockchip/bootrom.h |  3 +++
 arch/arm/mach-rockchip/px30/px30.c           |  1 +
 arch/arm/mach-rockchip/rk3288/rk3288.c       |  1 +
 arch/arm/mach-rockchip/rk3308/rk3308.c       |  1 +
 arch/arm/mach-rockchip/rk3368/rk3368.c       |  1 +
 arch/arm/mach-rockchip/rv1126/rv1126.c       |  1 +
 arch/arm/mach-rockchip/spl.c                 | 14 +++++++++++---
 7 files changed, 19 insertions(+), 3 deletions(-)

-- 
2.43.2



More information about the U-Boot mailing list