aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-02-15 15:08:43 -0500
committerTom Rini <trini@konsulko.com>2023-02-15 22:14:16 -0500
commitb82cd15dae4828d5957897062ddaee68dc91acd7 (patch)
tree4b53635e07468cca68badffadf7b0b597c328ffa
parentb51f05b9f1f3169e823c8ebba761910f5894e042 (diff)
downloadu-boot-b82cd15dae4828d5957897062ddaee68dc91acd7.zip
u-boot-b82cd15dae4828d5957897062ddaee68dc91acd7.tar.gz
u-boot-b82cd15dae4828d5957897062ddaee68dc91acd7.tar.bz2
arm: zynq: Move to select'ing ARCH_EARLY_INIT_R if we have FPGA
The function arch_early_init_r only does anything on these platforms if we have FPGA (or SPL and SPL_FPGA) enabled, so move the logic to select based on that. Cc: Michal Simek <michal.simek@amd.com> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/arm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 724cbdd..c51f15f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1209,6 +1209,7 @@ config ARCH_VF610
config ARCH_ZYNQ
bool "Xilinx Zynq based platform"
select ARM_TWD_TIMER
+ select ARCH_EARLY_INIT_R if FPGA || (SPL && SPL_FPGA)
select CLK
select CLK_ZYNQ
select CPU_V7A
@@ -1230,7 +1231,6 @@ config ARCH_ZYNQ
select SPL_TIMER if SPL
select SUPPORT_SPL
select TIMER
- imply ARCH_EARLY_INIT_R
imply BOARD_LATE_INIT
imply CMD_CLK
imply CMD_DM