summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-03-18 18:21:36 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-04-04 20:28:38 +0200
commita1108da7318cb0dee90e899309cb4e5e90f9d690 (patch)
tree9b6633f69a948fca5ce792bb6353a5bc4cd71339 /arch
parent46f68e6860cbd1175d89d11229307df8bbfce80f (diff)
downloadu-boot-imx-a1108da7318cb0dee90e899309cb4e5e90f9d690.zip
u-boot-imx-a1108da7318cb0dee90e899309cb4e5e90f9d690.tar.gz
u-boot-imx-a1108da7318cb0dee90e899309cb4e5e90f9d690.tar.bz2
ARM64: zynqmp: Select SYS_CONFIG_NAME via Kconfig
This option enable adding new platform suport just by adding defconfig and DTS file which will target generic configuration for SoC. Make no sense to extend Kconfig just create a pointer between DTS and configuration file. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv8/zynqmp/Kconfig15
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/cpu/armv8/zynqmp/Kconfig b/arch/arm/cpu/armv8/zynqmp/Kconfig
index 9a19dfa..6c71d78 100644
--- a/arch/arm/cpu/armv8/zynqmp/Kconfig
+++ b/arch/arm/cpu/armv8/zynqmp/Kconfig
@@ -1,13 +1,5 @@
if ARCH_ZYNQMP
-choice
- prompt "Xilinx ZynqMP board select"
-
-config TARGET_ZYNQMP_EP
- bool "ZynqMP EP Board"
-
-endchoice
-
config SYS_BOARD
default "zynqmp"
@@ -18,7 +10,12 @@ config SYS_SOC
default "zynqmp"
config SYS_CONFIG_NAME
- default "xilinx_zynqmp_ep" if TARGET_ZYNQMP_EP
+ string "Board configuration name"
+ default "xilinx_zynqmp"
+ help
+ This option contains information about board configuration name.
+ Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
+ will be used for board configuration.
config ZYNQMP_USB
bool "Configure ZynqMP USB"