diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2017-08-14 13:02:40 +0100 |
---|---|---|
committer | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2017-08-23 14:38:49 +0100 |
commit | 8e7cfe09dfc6d75f70716250422a5edc973de1ca (patch) | |
tree | 3de0ee2b06bfcd213a8dcea822596cd1bafbda80 | |
parent | 6802d30c3131aa4cfec2e4a044446a71a91642e6 (diff) |
arm: imx: add iMX7S WaARP7 board definitionlinaro-20170823-001linaro-17.09
This patch adds a simple option to select a WaARP7 board build.
Further patches will leverage off of this change to flesh out this
WaARP7-specific port.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
-rw-r--r-- | core/arch/arm/plat-imx/conf.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/arch/arm/plat-imx/conf.mk b/core/arch/arm/plat-imx/conf.mk index c7bdfecb..19ae358b 100644 --- a/core/arch/arm/plat-imx/conf.mk +++ b/core/arch/arm/plat-imx/conf.mk @@ -8,6 +8,7 @@ mx6d-flavorlist = mx6dl-flavorlist = mx6dlsabresd mx6s-flavorlist = mx7d-flavorlist = mx7dsabresd +mx7s-flavorlist = mx7swarp7 ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6ul-flavorlist))) $(call force,CFG_MX6UL,y) @@ -23,6 +24,8 @@ else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6s-flavorlist))) $(call force,CFG_MX6S,y) else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx7d-flavorlist))) $(call force,CFG_MX7D,y) +else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx7s-flavorlist))) +$(call force,CFG_MX7S,y) else $(error Unsupported PLATFORM_FLAVOR "$(PLATFORM_FLAVOR)") endif @@ -35,6 +38,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 core_arm32-platform-aflags += -mfpu=neon |