Commit a1108da7318cb0dee90e899309cb4e5e90f9d690
1 parent
46f68e6860
Exists in
v2017.01-smarct4x
and in
29 other branches
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>
Showing 2 changed files with 7 additions and 9 deletions Side-by-side Diff
arch/arm/cpu/armv8/zynqmp/Kconfig
1 | 1 | if ARCH_ZYNQMP |
2 | 2 | |
3 | -choice | |
4 | - prompt "Xilinx ZynqMP board select" | |
5 | - | |
6 | -config TARGET_ZYNQMP_EP | |
7 | - bool "ZynqMP EP Board" | |
8 | - | |
9 | -endchoice | |
10 | - | |
11 | 3 | config SYS_BOARD |
12 | 4 | default "zynqmp" |
13 | 5 | |
... | ... | @@ -18,7 +10,12 @@ |
18 | 10 | default "zynqmp" |
19 | 11 | |
20 | 12 | config SYS_CONFIG_NAME |
21 | - default "xilinx_zynqmp_ep" if TARGET_ZYNQMP_EP | |
13 | + string "Board configuration name" | |
14 | + default "xilinx_zynqmp" | |
15 | + help | |
16 | + This option contains information about board configuration name. | |
17 | + Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header | |
18 | + will be used for board configuration. | |
22 | 19 | |
23 | 20 | config ZYNQMP_USB |
24 | 21 | bool "Configure ZynqMP USB" |