if ARCH_MX7

config MX7
	bool
	select ROM_UNIFIED_SECTIONS
	select CPU_V7_HAS_VIRT
	select CPU_V7_HAS_NONSEC
	select ARCH_SUPPORT_PSCI
	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

config TARGET_COLIBRI_IMX7
	bool "Support Colibri iMX7S/iMX7D modules"
	select DM
	select DM_SERIAL
	select DM_THERMAL

endchoice

config SYS_SOC
	default "mx7"

source "board/freescale/mx7dsabresd/Kconfig"
source "board/toradex/colibri_imx7/Kconfig"
source "board/warp7/Kconfig"

endif
