aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-imx
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2017-08-14 13:02:40 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2018-03-13 19:15:01 +0100
commit1887f582dd292c195e9490086cce0e33a0b9b0cb (patch)
tree8f2ddcc074442f41eaaa05559b73e314597271b5 /core/arch/arm/plat-imx
parent2acaafd45991764e29e5370c507c46d463634cc7 (diff)
arm: imx: add iMX7S WaARP7 board definition
This patch adds a simple option to select a WaARP7 board build. Existing code upstream does most of the work here. Make this board port with: make PLATFORM=imx PLATFORM_FLAVOR=mx7swarp7 ARCH=arm CFG_PAGEABLE_ADDR=0 CFG_DT_ADDR=0x83000000 DEBUG=y CFG_TEE_CORE_LOG_LEVEL=1 -j 8 Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'core/arch/arm/plat-imx')
-rw-r--r--core/arch/arm/plat-imx/conf.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/arch/arm/plat-imx/conf.mk b/core/arch/arm/plat-imx/conf.mk
index 4983d6ad..5c9f04df 100644
--- a/core/arch/arm/plat-imx/conf.mk
+++ b/core/arch/arm/plat-imx/conf.mk
@@ -8,7 +8,7 @@ mx6sx-flavorlist = mx6sxsabreauto
mx6d-flavorlist =
mx6dl-flavorlist = mx6dlsabresd
mx6s-flavorlist =
-mx7-flavorlist = mx7dsabresd
+mx7-flavorlist = mx7dsabresd mx7swarp7
ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6ul-flavorlist)))
$(call force,CFG_MX6UL,y)
@@ -40,6 +40,14 @@ CFG_PSCI_ARM32 ?= y
CFG_TEE_CORE_NB_CORE ?= 2
endif
+ifneq (,$(filter $(PLATFORM_FLAVOR),mx7swarp7))
+CFG_DDR_SIZE ?= 0x20000000
+CFG_DT ?= y
+CFG_NS_ENTRY_ADDR ?= 0x80800000
+CFG_PSCI_ARM32 ?= y
+CFG_TEE_CORE_NB_CORE ?= 1
+endif
+
# Common i.MX6 config
$(call force,CFG_GENERIC_BOOT,y)
$(call force,CFG_GIC,y)