Skip to content
Snippets Groups Projects
Commit a1108da7 authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <michal.simek@xilinx.com>
parent 46f68e68
No related branches found
No related tags found
No related merge requests found
if ARCH_ZYNQMP if ARCH_ZYNQMP
choice
prompt "Xilinx ZynqMP board select"
config TARGET_ZYNQMP_EP
bool "ZynqMP EP Board"
endchoice
config SYS_BOARD config SYS_BOARD
default "zynqmp" default "zynqmp"
...@@ -18,7 +10,12 @@ config SYS_SOC ...@@ -18,7 +10,12 @@ config SYS_SOC
default "zynqmp" default "zynqmp"
config SYS_CONFIG_NAME 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 config ZYNQMP_USB
bool "Configure ZynqMP USB" bool "Configure ZynqMP USB"
......
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_ep"
CONFIG_ARCH_ZYNQMP=y CONFIG_ARCH_ZYNQMP=y
CONFIG_ZYNQMP_USB=y CONFIG_ZYNQMP_USB=y
CONFIG_SYS_TEXT_BASE=0x8000000 CONFIG_SYS_TEXT_BASE=0x8000000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment