The images to flash on SPI and MMC boot media are very similar and
binman templating engine allows to override properties after inserting
the template, so let's do that to template the whole boot image instead
of simply the FIT.

While at it, swap the default format for the SPI image from rkspi to
rksd. This patch should no change any behavior, just that the new SoCs
are expected to use rksd if unspecified instead of rkspi which is
assumed required only on some SoCs (like RK3399) due to some BootROM
bug/quirk.

Finally, a small cleanup of rk3288-tinker-s including twice the same
file.

Note that I'm planning on adding support for image signature to
rockchip-u-boot.dtsi in the next few days/weeks, which is the reason why
I'm doing this now as I've had to duplicate the work for the inclusion
of the pubkey in the SPL for the SPI and MMC images for no real reason.

Signed-off-by: Quentin Schulz <[email protected]>
---
Quentin Schulz (3):
      rockchip: binman: template all of simple-bin
      rockchip: make rksd the default format for SPI images
      rockchip: rk3288-tinker-s: remove duplicate include

 arch/arm/dts/px30-u-boot.dtsi              |  12 ++
 arch/arm/dts/rk3036-u-boot.dtsi            |  13 ++
 arch/arm/dts/rk3066a-u-boot.dtsi           |  12 ++
 arch/arm/dts/rk3128-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3188-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk322x-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3288-tinker-s-u-boot.dtsi   |   1 -
 arch/arm/dts/rk3288-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3308-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi |  12 ++
 arch/arm/dts/rk3328-u-boot.dtsi            |   1 -
 arch/arm/dts/rk3368-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3399-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3528-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk356x-u-boot.dtsi            |   1 -
 arch/arm/dts/rk3576-u-boot.dtsi            |  12 ++
 arch/arm/dts/rk3588s-u-boot.dtsi           |   1 -
 arch/arm/dts/rockchip-u-boot.dtsi          | 283 ++++++++++++++---------------
 arch/arm/dts/rv1108-u-boot.dtsi            |  12 ++
 arch/arm/dts/rv1126-u-boot.dtsi            |  12 ++
 20 files changed, 320 insertions(+), 148 deletions(-)
---
base-commit: 9094482ca7576877b2bfaa57c8e73cfeb536f8b9
change-id: 20251027-rockchip-more-template-86af536f7e86

Best regards,
-- 
Quentin Schulz <[email protected]>

Reply via email to