if ARCH_MX5

config MX5
	bool
	default y
	select GPT_TIMER

config MX51
	bool
	select ARM_CORTEX_A8_CVE_2017_5715
	select SYS_FSL_ERRATUM_ESDHC_A001

config MX53
	bool
	select ARM_CORTEX_A8_CVE_2017_5715

choice
	prompt "MX5 board select"
	optional

config TARGET_KP_IMX53
	bool "Support K+P imx53 board"
	select BOARD_LATE_INIT
	select DM
	select DM_GPIO
	select DM_I2C
	select DM_PMIC
	select DM_SERIAL
	select DM_MMC
	select DM_REGULATOR
	select MMC
	select MX53
	imply CMD_DM

config TARGET_M53MENLO
	bool "Support m53menlo"
	select MX53
	select SUPPORT_SPL

config TARGET_MX51EVK
	bool "Support mx51evk"
	select BOARD_LATE_INIT
	select MX51

config TARGET_MX53CX9020
	bool "Support CX9020"
	select BOARD_LATE_INIT
	select DM
	select DM_SERIAL
	select MX53
	imply CMD_DM

config TARGET_MX53LOCO
	bool "Support mx53loco"
	select BOARD_LATE_INIT
	select MX53

config TARGET_MX53PPD
	bool "Support mx53ppd"
	select MX53
	help
	  Enable support for the GE Healthcare PPD.

config TARGET_USBARMORY
	bool "Support USB armory"
	select MX53

endchoice

config SYS_SOC
	default "mx5"

source "board/beckhoff/mx53cx9020/Kconfig"
source "board/nxp/mx51evk/Kconfig"
source "board/nxp/mx53loco/Kconfig"
source "board/ge/mx53ppd/Kconfig"
source "board/inversepath/usbarmory/Kconfig"
source "board/k+p/kp_imx53/Kconfig"
source "board/menlo/m53menlo/Kconfig"

endif
