diff --git a/.travis.yml b/.travis.yml index 6866dfe6487..82de0a7fe4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -186,6 +186,9 @@ script: # i.MX6UL 14X14 EVK - $make PLATFORM=imx-mx6ulevk ARCH=arm CFG_PAGEABLE_ADDR=0 CFG_NS_ENTRY_ADDR=0x80800000 CFG_DT_ADDR=0x83000000 CFG_DT=y DEBUG=y CFG_TEE_CORE_LOG_LEVEL=4 + # i.MX6ULL 14X14 EVK + - $make PLATFORM=imx-mx6ullevk ARCH=arm CFG_PAGEABLE_ADDR=0 CFG_NS_ENTRY_ADDR=0x80800000 CFG_DT=y DEBUG=y CFG_TEE_CORE_LOG_LEVEL=4 + # i.MX6Quad SABRE - $make PLATFORM=imx-mx6qsabrelite - $make PLATFORM=imx-mx6qsabresd diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 3fe701d5c91..f8ff35be244 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -13,6 +13,7 @@ for these platforms. | FSL i.MX6 Quad SABRE Lite Board |`Yan Yan `,`Feng Yu `| | FSL i.MX6 Quad SABRE SD Board |`Yan Yan `,`Feng Yu `| | FSL i.MX6 UltraLite EVK Board |`Peng Fan `| +| NXP i.MX6 ULL EVK Board |`Peng Fan `| | ARM Foundation FVP |`Linaro `| | HiKey Board (HiSilicon Kirin 620) |`Linaro `| | HiSilicon D02 |`Linaro `| diff --git a/core/arch/arm/plat-imx/conf.mk b/core/arch/arm/plat-imx/conf.mk index 892fb33ab91..93d604515b3 100644 --- a/core/arch/arm/plat-imx/conf.mk +++ b/core/arch/arm/plat-imx/conf.mk @@ -2,6 +2,7 @@ PLATFORM_FLAVOR ?= mx6ulevk # Get SoC associated with the PLATFORM_FLAVOR mx6ul-flavorlist = mx6ulevk +mx6ull-flavorlist = mx6ullevk mx6q-flavorlist = mx6qsabrelite mx6qsabresd mx6d-flavorlist = mx6dl-flavorlist = mx6dlsabresd @@ -9,6 +10,8 @@ mx6s-flavorlist = ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6ul-flavorlist))) $(call force,CFG_MX6UL,y) +else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6ull-flavorlist))) +$(call force,CFG_MX6ULL,y) else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6q-flavorlist))) $(call force,CFG_MX6Q,y) else ifneq (,$(filter $(PLATFORM_FLAVOR),$(mx6d-flavorlist))) @@ -35,8 +38,8 @@ CFG_CRYPTO_SIZE_OPTIMIZATION ?= n CFG_WITH_STACK_CANARIES ?= y -# i.MX6UL specific config -ifeq ($(CFG_MX6UL),y) +# i.MX6UL/ULL specific config +ifneq (,$(filter y, $(CFG_MX6UL) $(CFG_MX6ULL))) include core/arch/arm/cpu/cortex-a7.mk $(call force,CFG_MX6,y) diff --git a/core/arch/arm/plat-imx/imx-regs.h b/core/arch/arm/plat-imx/imx-regs.h index 9a5c439e023..e9001129f04 100644 --- a/core/arch/arm/plat-imx/imx-regs.h +++ b/core/arch/arm/plat-imx/imx-regs.h @@ -71,7 +71,7 @@ #define GIC_BASE 0x00A00000 #define GICD_OFFSET 0x1000 -#if defined(CFG_MX6UL) +#if defined(CFG_MX6UL) || defined(CFG_MX6ULL) #define GICC_OFFSET 0x2000 /* No CAAM on i.MX6ULL */ #define CAAM_BASE 0x02140000 @@ -139,7 +139,7 @@ #define CSU_ACCESS_ALL 0x00FF00FF #define CSU_SETTING_LOCK 0x01000100 -#ifdef CFG_MX6UL +#if defined(CFG_MX6UL) || defined(CFG_MX6ULL) #define DRAM0_BASE 0x80000000 #else #define DRAM0_BASE 0x10000000 diff --git a/core/arch/arm/plat-imx/platform_config.h b/core/arch/arm/plat-imx/platform_config.h index 50fb80458c3..4a71b42f13c 100644 --- a/core/arch/arm/plat-imx/platform_config.h +++ b/core/arch/arm/plat-imx/platform_config.h @@ -32,9 +32,9 @@ #define STACK_ALIGNMENT 64 -/* For i.MX 6UltraLite EVK board */ +/* For i.MX 6UltraLite and 6ULL EVK board */ -#if defined(CFG_MX6UL) +#if defined(CFG_MX6UL) || defined(CFG_MX6ULL) #include #ifdef CFG_WITH_PAGER diff --git a/core/arch/arm/plat-imx/sub.mk b/core/arch/arm/plat-imx/sub.mk index cdb555f8751..41b4bbcd8b4 100644 --- a/core/arch/arm/plat-imx/sub.mk +++ b/core/arch/arm/plat-imx/sub.mk @@ -8,8 +8,7 @@ ifneq (,$(filter y, $(CFG_MX6Q) $(CFG_MX6D) $(CFG_MX6DL))) srcs-y += a9_plat_init.S imx6.c endif -ifneq (,$(filter y, $(CFG_MX6UL)) +ifneq (,$(filter y, $(CFG_MX6UL) $(CFG_MX6ULL))) srcs-y += a7_plat_init.S +srcs-y += imx6ul.c endif - -srcs-$(CFG_MX6UL) += imx6ul.c