rockchip: Ensure env in SPI Flash can work correctly

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>
This commit is contained in:
Jonas Karlman 2025-07-12 21:27:07 +00:00 committed by Tom Rini
parent c6bba31dbd
commit 3a01be0cd5
3 changed files with 6 additions and 0 deletions

View File

@ -132,6 +132,10 @@
bootph-pre-ram;
};
&spi0 {
bootph-some-ram;
};
&uart2 {
bootph-all;
clock-frequency = <24000000>;

View File

@ -157,6 +157,7 @@
};
&sfc {
bootph-some-ram;
u-boot,spl-sfc-no-dma;
};

View File

@ -140,6 +140,7 @@
};
&sfc {
bootph-some-ram;
u-boot,spl-sfc-no-dma;
};