diff options
author | Andre Przywara <andre.przywara@arm.com> | 2022-03-04 16:30:09 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-01 14:55:38 -0400 |
commit | fac7fc43cfc63a778f8385917cf86fae7a1eb446 (patch) | |
tree | ac10d38b67beea9e7ea99b4a7bf8e8ba5ebdb3cc /board | |
parent | 5b160c3a13f80708b4a720119cd2a1ef161e57f0 (diff) | |
download | u-boot-fac7fc43cfc63a778f8385917cf86fae7a1eb446.tar.gz u-boot-fac7fc43cfc63a778f8385917cf86fae7a1eb446.tar.bz2 u-boot-fac7fc43cfc63a778f8385917cf86fae7a1eb446.zip |
vexpress64: Kconfig: move board definitions out of arch/arm
At the moment we define three "VExpress64" boards in arch/arm/Kconfig,
plus have a second Kconfig file in board/armltd/Kconfig.
One of those three boards is actually bogus (TARGET_VEXPRESS64_AEMV8A),
that stanza looks like being forgotten in a previous cleanup.
To remove the clutter from the generic Kconfig file, just define some
ARCH_VEXPRESS64 symbol there, enable some common options, and do the
board/model specific configuration in the board/armltd Kconfig file.
That allows to streamline and fine tune the configuration later, and
to also pull a lot of "non user choices" out of the defconfigs.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/armltd/vexpress64/Kconfig | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/board/armltd/vexpress64/Kconfig b/board/armltd/vexpress64/Kconfig index 4aab3f092e..55fe0118e1 100644 --- a/board/armltd/vexpress64/Kconfig +++ b/board/armltd/vexpress64/Kconfig @@ -1,4 +1,4 @@ -if TARGET_VEXPRESS64_BASE_FVP || TARGET_VEXPRESS64_JUNO +if ARCH_VEXPRESS64 config SYS_BOARD default "vexpress64" @@ -9,6 +9,24 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "vexpress_aemv8" +choice + prompt "VExpress64 board variant" + +config TARGET_VEXPRESS64_BASE_FVP + bool "Support Versatile Express ARMv8a FVP BASE model" + select SEMIHOSTING + +config TARGET_VEXPRESS64_JUNO + bool "Support Versatile Express Juno Development Platform" + select DM_ETH + select USB + select OF_CONTROL + select CLK + select BLK + imply OF_HAS_PRIOR_STAGE + +endchoice + config JUNO_DTB_PART string "NOR flash partition holding DTB" default "board.dtb" |