mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 05:43:21 +09:00
![Michal Simek](/assets/img/avatar_default.png)
Extending Kconfig for adding new platform is a lot of work for nothing. Setting SYS_CONFIG_NAME directly in Kconfig and remove all dependencies on TARGET_ZYNQ_* options including SPL. As a side-effect it also remove custom init folder for ps7_init_gpl.* files. Folder is chosen based on device-tree file. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
21 lines
394 B
Plaintext
21 lines
394 B
Plaintext
if ARCH_ZYNQ
|
|
|
|
config SYS_BOARD
|
|
default "zynq"
|
|
|
|
config SYS_VENDOR
|
|
default "xilinx"
|
|
|
|
config SYS_SOC
|
|
default "zynq"
|
|
|
|
config SYS_CONFIG_NAME
|
|
string "Board configuration name"
|
|
default "zynq-common"
|
|
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.
|
|
|
|
endif
|