]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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 b0e50a973a88fc00630ada80e5dabc863eb7adc3..8ffc9ed3d5731176109fcba9513e45ea1d2a4f74 100644 (file)
        bootph-pre-ram;
 };
 
+&spi0 {
+       bootph-some-ram;
+};
+
 &uart2 {
        bootph-all;
        clock-frequency = <24000000>;
index 8718697395365f1daa8566c5f47729b3ac63c793..738b9673d352fedf37c715cbfa24d37d9cffa438 100644 (file)
 };
 
 &sfc {
+       bootph-some-ram;
        u-boot,spl-sfc-no-dma;
 };
 
index 5eeb138f3513cbb944be0474965162e2150a5029..71fd352f640ea7574ffe0de79a01f21e3161c403 100644 (file)
 };
 
 &sfc {
+       bootph-some-ram;
        u-boot,spl-sfc-no-dma;
 };