[PATCH v3 0/2] rockchip: remove u-boot.rom generation

Quentin Schulz foss+uboot at 0leil.net
Mon May 5 16:47:17 CEST 2025


This gets rid of u-boot.rom generation as that was used only on Rockchip
Chromebooks and their maintainer (Simon) seems to agree[1] that
u-boot-rockchip-spi.bin should do the job now so we don't need to
generate it anymore. This was agreed for RK3399 Chromebooks, I'm
attempting to do the same for RK3288 Chromebooks as well so we don't
have anything requiring that u-boot.rom anymore.

Since HAS_ROM is only guarding this u-boot.rom generation, they are
removed too from the individual configs.

Note that none of the patches were tested outside of a simple build
test.

[1] https://lore.kernel.org/u-boot/CAFLszTh-SewFod8dEOF3+e-wCE1qFF0CyxxR8CbQwy3BRW3k6w@mail.gmail.com

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
Changes in v3:
- removed patch 3 as it's now handled by fit templates, in another
  series about to be merged,
  (https://lore.kernel.org/u-boot/20250413195949.432730-1-jonas@kwiboo.se/)
- Link to v2: https://lore.kernel.org/r/20250220-has_rom-u-boot-rockchip-spi-bin-v2-0-d1768ee87808@cherry.de

Changes in v2:
- made u-boot-rockchip-spi.bin 8MiB for RK3399 Chromebooks and 4MiB for
  RK3288 Chromebooks, as requested by Simon, to match u-boot.rom,
- added R-b from Jonas,
- surrounded &/binman/simple-bin-spi in chromebook dtsis with ifdefery
  on ROCKCHIP_SPI_IMAGE to not pollute the Device Tree if it's not
  there,
- Link to v1: https://lore.kernel.org/r/20250211-has_rom-u-boot-rockchip-spi-bin-v1-0-0d77f95b6239@cherry.de

---
Quentin Schulz (2):
      rockchip: rk3399: do not generate u-boot.rom anymore
      rockchip: rk3288: do not generate u-boot.rom anymore

 arch/arm/dts/rk3288-u-boot.dtsi        | 24 -----------------------
 arch/arm/dts/rk3288-veyron-u-boot.dtsi |  8 ++++++++
 arch/arm/dts/rk3399-gru-u-boot.dtsi    |  4 +++-
 arch/arm/dts/rk3399-u-boot.dtsi        | 35 ----------------------------------
 arch/arm/mach-rockchip/rk3288/Kconfig  |  5 -----
 arch/arm/mach-rockchip/rk3399/Kconfig  |  2 --
 6 files changed, 11 insertions(+), 67 deletions(-)
---
base-commit: 9dbe8d889546efd6c1a3470092588b9b6820158f
change-id: 20250211-has_rom-u-boot-rockchip-spi-bin-df31b06ad2f3

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list