]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: zynqmp: Do not include psu_init to U-Boot by default
authorMichal Simek <michal.simek@amd.com>
Fri, 2 Dec 2022 08:18:06 +0000 (09:18 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Dec 2022 07:55:55 +0000 (08:55 +0100)
commite9192fb79c1be6ce5fe7eedcc22ef725696a0768
tree7449ceaf6450416ab09c7c84603d8f52cfb75e51
parentfe63a7dad69f76ec70e8d1ff63e871dc0c36f482
arm64: zynqmp: Do not include psu_init to U-Boot by default

The commit 3b8f882be314 ("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@amd.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d5fcbd66b05bf0d7ef594e66464ee23b48c5e4cc.1669969083.git.michal.simek@amd.com
arch/arm/mach-zynqmp/Kconfig
arch/arm/mach-zynqmp/Makefile
board/xilinx/zynqmp/Makefile
configs/avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0_defconfig
configs/xilinx_zynqmp_mini_defconfig
configs/xilinx_zynqmp_mini_emmc0_defconfig
configs/xilinx_zynqmp_mini_emmc1_defconfig
configs/xilinx_zynqmp_mini_nand_defconfig
configs/xilinx_zynqmp_mini_nand_single_defconfig
configs/xilinx_zynqmp_mini_qspi_defconfig