[PATCH] arm64: zynqmp: Do not include psu_init to U-Boot by default

Luca Ceresoli luca at lucaceresoli.net
Sat Dec 3 22:43:57 CET 2022


Hello Michal,

Il 02/12/22 09:18, Michal Simek ha scritto:
> The commit ed35de617013 ("Convert CONFIG_ZYNQMP_PSU_INIT_ENABLED to
> Kconfig") converted CONFIG_ZYNQMP_PSU_INIT_ENABLED symbol and enabled it by
> default which is not correct configuration.
> Intention of this config was to have it enabled by default for SPL and
> provide an option to users to also do low level initialization directly
> from U-Boot.
> That's why it is necessary to define second symbol with SPL marking in it
> and properly use symbols depends on usage in Makefile.
> Also disable ZYNQMP_PSU_INIT_ENABLED from boards which enables it by
> default. CONFIG_SPL_ZYNQMP_PSU_INIT_ENABLED is enabled by default when SPL
> is enabled.
> 
> Reported-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>

After checking ed35de617013 I can see the problem, and this seems like a
correct fix:

Reviewed-by: Luca Ceresoli <luca at lucaceresoli.net>

-- 
Luca



More information about the U-Boot mailing list