rockchip: Ensure env in SPI Flash can work correctly
authorJonas Karlman <jonas@kwiboo.se>
Sat, 12 Jul 2025 21:27:07 +0000 (21:27 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 2 Nov 2025 18:15:23 +0000 (12:15 -0600)
Ensure that the spi/sfc node for SPI flash is aviliable during pre-reloc
phase so that env can successfully be loaded from SPI Flash.

No boards with these SoCs seem to be affected as there is no default use
of ENV_IS_IN_SPI_FLASH=y.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3328-u-boot.dtsi
arch/arm/dts/rk356x-u-boot.dtsi
arch/arm/dts/rk3588s-u-boot.dtsi

index b0e50a9..8ffc9ed 100644 (file)
        bootph-pre-ram;
 };
 
+&spi0 {
+       bootph-some-ram;
+};
+
 &uart2 {
        bootph-all;
        clock-frequency = <24000000>;
index 8718697..738b967 100644 (file)
 };
 
 &sfc {
+       bootph-some-ram;
        u-boot,spl-sfc-no-dma;
 };
 
index 5eeb138..71fd352 100644 (file)
 };
 
 &sfc {
+       bootph-some-ram;
        u-boot,spl-sfc-no-dma;
 };