[PATCH v3 18/31] rockchip: Update rk3399 bootph-tags for VPL
Jonas Karlman
jonas at kwiboo.se
Fri Mar 28 17:11:31 CET 2025
Hi Simon,
On 2025-03-28 16:34, Simon Glass wrote:
> When VPL is in use, memory init happens in SPL, so there is no need to
> include the DMC device before that. Adjust the tags to save space.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - Only enable MMC when VPM is in use.
>
> arch/arm/dts/rk3399-u-boot.dtsi | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
> index 81a3c6fc972..c3d0da62c8f 100644
> --- a/arch/arm/dts/rk3399-u-boot.dtsi
> +++ b/arch/arm/dts/rk3399-u-boot.dtsi
> @@ -71,7 +71,12 @@
> 0x0 0xffa88800 0x0 0x1800
> 0x0 0xffa8a000 0x0 0x2000
> 0x0 0xffa8c000 0x0 0x1000>;
> - bootph-all;
> +#ifdef CONFIG_VPL
> + bootph-pre-ram;
> + bootph-some-ram;
> +#else
> + bootph-all;
Please use correct indentation for above bootph- props,
they now use two instead of one tab.
Regards,
Jonas
> +#endif
> status = "okay";
> };
>
> @@ -118,6 +123,10 @@
> };
>
> &sdmmc {
> +#ifdef CONFIG_VPL
> + bootph-pre-sram;
> + bootph-verify;
> +#endif
> bootph-pre-ram;
> bootph-some-ram;
>
More information about the U-Boot
mailing list