# SPDX-License-Identifier: GPL-2.0-only

if ARCH_LAYERSCAPE

config ARCH_LAYERSCAPE_ICID
	bool

config ARCH_LS1028
	bool
	select CPU_V8
	select SYS_SUPPORTS_64BIT_KERNEL
	select ARM_ATF
	select FIRMWARE_LS1028A_ATF
	select ARCH_LAYERSCAPE_ICID

config ARCH_LS1046
	bool
	select CPU_V8
	select ARM_ATF
	select SYS_SUPPORTS_64BIT_KERNEL
	select ARCH_LAYERSCAPE_ICID

if 64BIT

config MACH_LS1028ARDB
	bool "QorIQ LS1028A Reference Design Board"
	select ARCH_LS1028

config MACH_LS1046ARDB
	bool "QorIQ LS1046A Reference Design Board"
	select ARCH_LS1046
	select DDR_SPD
	select MCI_IMX_ESDHC_PBL
	select I2C_IMX_EARLY
	select DDR_FSL
	select DDR_FSL_DDR4

config MACH_TQMLS1046A
	bool "TQ TQMLS1046A Board"
	select ARCH_LS1046
	select MCI_IMX_ESDHC_PBL
	select I2C_IMX_EARLY
	select DDR_FSL
	select DDR_FSL_DDR4
	select FIRMWARE_LS1046A_ATF

endif

config ARCH_LS1021
	select CPU_V7
	bool

if 32BIT

config MACH_LS1021AIOT
	bool "LS1021AIOT Board"
	select ARCH_LS1021
	select DDR_FSL
	select DDR_FSL_DDR3

endif

endif
