mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-19 11:13:24 +09:00
be1a17ff68
Use existing Kconfig symbols to let the user configure whether to build a U-Boot with non-secure mode support or not. This also allows to enable virtualization extension easily. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
39 lines
505 B
Plaintext
39 lines
505 B
Plaintext
if ARCH_MX7
|
|
|
|
config MX7
|
|
bool
|
|
select ROM_UNIFIED_SECTIONS
|
|
select CPU_V7_HAS_VIRT
|
|
select CPU_V7_HAS_NONSEC
|
|
default y
|
|
|
|
config MX7D
|
|
select ROM_UNIFIED_SECTIONS
|
|
bool
|
|
|
|
choice
|
|
prompt "MX7 board select"
|
|
optional
|
|
|
|
config TARGET_MX7DSABRESD
|
|
bool "mx7dsabresd"
|
|
select MX7D
|
|
select DM
|
|
select DM_THERMAL
|
|
|
|
config TARGET_WARP7
|
|
bool "warp7"
|
|
select MX7D
|
|
select DM
|
|
select DM_THERMAL
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "mx7"
|
|
|
|
source "board/freescale/mx7dsabresd/Kconfig"
|
|
source "board/warp7/Kconfig"
|
|
|
|
endif
|