fpga: kconfig: Rename SPL_FPGA_SUPPORT to SPL_FPGA
authorMichal Simek <michal.simek@xilinx.com>
Wed, 9 Sep 2020 12:41:56 +0000 (14:41 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:41 +0000 (10:31 +0200)
commit29bd8ada52e186ea6b7f8b633d7aa6296fb097d1
treee28766afe0f94273ebefadfd0519a3a7a4586078
parentb7d4518eed716a483b4efa1e282033f37244ab2d
fpga: kconfig: Rename SPL_FPGA_SUPPORT to SPL_FPGA

The patch does sed 's/SPL_FPGA_SUPPORT/SPL_FPGA/g' but also fixing Makefile
and zynqmp.c to simplify if/endif logic in zynqmp.c.

This change is mostly done to be able to use CONFIG_IS_ENABLED macro and
obj-$(CONFIG_$(SPL_)FPGA) in Makefile. For them symbols need to be in sync.

And removing one line from Topic Miami boards which is not needed because
symbol is not enabled via Kconfig.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-zynq/cpu.c
arch/arm/mach-zynq/spl.c
board/xilinx/zynqmp/zynqmp.c
common/spl/Kconfig
common/spl/spl_fit.c
configs/socfpga_arria10_defconfig
configs/xilinx_zynq_virt_defconfig
drivers/Makefile
include/configs/topic_miami.h