arm: zynq: Move to select'ing ARCH_EARLY_INIT_R if we have FPGA
authorTom Rini <trini@konsulko.com>
Thu, 16 Feb 2023 03:36:49 +0000 (22:36 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 20:32:25 +0000 (15:32 -0500)
commitd0bfa29cdcb4e68e88363e219c0310f7cfdfec6a
tree56fcf48bb372f0964a4069fc836eebae498eb00b
parentefb0aa7bf5e3820992b703d731d38a6f6d6fd933
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>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/Kconfig