mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-11 20:59:01 +00:00
7abeec2234
If including MX7D in CONFIG_SYS_EXTRA_OPTIONS, CONFIG_ROM_UNIFIED_SECTIONS will not effect.So move MX7D to Kconfig entry from CONFIG_SYS_EXTRA_OPTIONS to "select MX7D" to boards using i.MX7 Dual. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
36 lines
455 B
Text
36 lines
455 B
Text
if ARCH_MX7
|
|
|
|
config MX7
|
|
bool
|
|
select ROM_UNIFIED_SECTIONS
|
|
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
|