aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynqmp/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2024-03-12 16:51:21 +0100
committerMichal Simek <michal.simek@amd.com>2024-03-22 12:55:08 +0100
commit425b85158f97b66ef23114f0a6f166dd7b4c4eac (patch)
treed0b76cca0c851229320a79a05ac2f36af1f2df4c /arch/arm/mach-zynqmp/Kconfig
parent8da257f4da61b3613bc8b9b051a82625f38198b3 (diff)
downloadu-boot-425b85158f97b66ef23114f0a6f166dd7b4c4eac.zip
u-boot-425b85158f97b66ef23114f0a6f166dd7b4c4eac.tar.gz
u-boot-425b85158f97b66ef23114f0a6f166dd7b4c4eac.tar.bz2
arm64: zynqmp: Do not setup default SPL options without SPL
mach Kconfig file select some options independently of if SPL is actually enabled. It ends up in situation that SPL is disabled but symbols are still present in .config. That's why add SPL dependency for them but also group them with other SPL options in ARCH_ZYNQMP fragment with using imply option. This should ensure the same behavior as default y. Also fixed SPL_ZYNQMP_PSU_INIT_ENABLED for the same. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/8dc4b799d36f963a3e1ebb5b24793632dc360b61.1710258674.git.michal.simek@amd.com
Diffstat (limited to 'arch/arm/mach-zynqmp/Kconfig')
-rw-r--r--arch/arm/mach-zynqmp/Kconfig27
1 files changed, 2 insertions, 25 deletions
diff --git a/arch/arm/mach-zynqmp/Kconfig b/arch/arm/mach-zynqmp/Kconfig
index 7e7c87d..eee3438 100644
--- a/arch/arm/mach-zynqmp/Kconfig
+++ b/arch/arm/mach-zynqmp/Kconfig
@@ -1,29 +1,5 @@
if ARCH_ZYNQMP
-config SPL_FS_FAT
- default y
-
-config SPL_LIBCOMMON_SUPPORT
- default y
-
-config SPL_LIBDISK_SUPPORT
- default y
-
-config SPL_LIBGENERIC_SUPPORT
- default y
-
-config SPL_MMC
- default y if MMC_SDHCI_ZYNQ
-
-config SPL_SERIAL
- default y
-
-config SPL_SPI_FLASH_SUPPORT
- default y if ZYNQ_QSPI
-
-config SPL_SPI
- default y if ZYNQ_QSPI
-
config SYS_BOARD
string "Board name"
default "zynqmp"
@@ -143,7 +119,8 @@ config ZYNQMP_PSU_INIT_ENABLED
config SPL_ZYNQMP_PSU_INIT_ENABLED
bool "Include psu_init in SPL"
- default y if SPL
+ depends on SPL
+ default y
select BOARD_EARLY_INIT_F
help
Include psu_init by default in SPL.