diff --git a/.shippable.yml b/.shippable.yml index 26715323d..b1f6b1db9 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -75,6 +75,7 @@ build: - _make PLATFORM=ls-ls1043ardb - _make PLATFORM=ls-ls1046ardb - _make PLATFORM=ls-ls1012ardb + - _make PLATFORM=ls-ls1012afrwy - _make PLATFORM=zynq7k-zc702 - _make PLATFORM=zynqmp-zcu102 - _make PLATFORM=zynqmp-zcu102 CFG_ARM64_core=y diff --git a/MAINTAINERS b/MAINTAINERS index d19959d23..8ddd3c5ca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -80,7 +80,7 @@ MediaTek MT8173 EVB S: Orphan F: core/arch/arm/plat-mediatek/ -NXP LS1021A, LS1043A-RDB, LS1046A-RDB, LS1012A-RDB +NXP LS1021A, LS1043A-RDB, LS1046A-RDB, LS1012A-RDB, LS1012A-FRWY R: Vinitha V Pillai [@nxa27423] R: Pankaj Gupta S: Maintained diff --git a/README.md b/README.md index e80080e14..67914ff63 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ The **Maintained?** column shows: | [FSL ls1021a](http://www.freescale.com/tools/embedded-software-and-tools/hardware-development-tools/tower-development-boards/mcu-and-processor-modules/powerquicc-and-qoriq-modules/qoriq-ls1021a-tower-system-module:TWR-LS1021A?lang_cd=en)|`PLATFORM=ls-ls1021atwr`| Yes | ![Actively maintained](documentation/images/green.svg) | | [NXP ls1043ardb](http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/qoriq-platforms/developer-resources/qoriq-ls1043a-reference-design-board:LS1043A-RDB)|`PLATFORM=ls-ls1043ardb`| Yes | ![Actively Maintained](documentation/images/green.svg) | | [NXP ls1046ardb](http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/qoriq-platforms/developer-resources/qoriq-ls1046a-reference-design-board:LS1046A-RDB)|`PLATFORM=ls-ls1046ardb`| Yes | ![Actively Maintained](documentation/images/green.svg) | +| [NXP ls1012ardb](http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/qoriq-platforms/developer-resources/qoriq-ls1012a-reference-design-board:LS1012A-RDB)|`PLATFORM=ls-ls1012ardb`| Yes | ![Actively Maintained](documentation/images/green.svg) | +| [NXP ls1012afrwy](https://www.nxp.com/support/developer-resources/software-development-tools/qoriq-developer-resources/layerscape-frwy-ls1012a-board:FRWY-LS1012A)|`PLATFORM=ls-ls1012afrwy`| Yes | ![Actively Maintained](documentation/images/green.svg) | | [FSL i.MX6 Quad SABRE Lite Board](https://boundarydevices.com/product/sabre-lite-imx6-sbc/) |`PLATFORM=imx-mx6qsabrelite`| Yes | ![Actively Maintained](documentation/images/green.svg) | | [FSL i.MX6 Quad SABRE SD Board](http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-board-for-smart-devices-based-on-the-i.mx-6quad-applications-processors:RD-IMX6Q-SABRE) |`PLATFORM=imx-mx6qsabresd`| Yes | ![Actively maintained](documentation/images/green.svg) | | [SolidRun i.MX6 Quad Hummingboard Edge](https://www.solid-run.com/product/hummingboard-edge-imx6q-wa-h/) |`PLATFORM=imx-mx6qhmbedge`| Yes | ![Actively Maintained](documentation/images/green.svg) | diff --git a/core/arch/arm/plat-ls/conf.mk b/core/arch/arm/plat-ls/conf.mk index 53b45ee67..5a350f546 100644 --- a/core/arch/arm/plat-ls/conf.mk +++ b/core/arch/arm/plat-ls/conf.mk @@ -38,6 +38,15 @@ $(call force,CFG_CORE_CLUSTER_SHIFT,2) CFG_SHMEM_SIZE ?= 0x00200000 endif +ifeq ($(PLATFORM_FLAVOR),ls1012afrwy) +CFG_HW_UNQ_KEY_REQUEST ?= y +include core/arch/arm/cpu/cortex-armv8-0.mk +$(call force,CFG_TEE_CORE_NB_CORE,1) +$(call force,CFG_CORE_CLUSTER_SHIFT,2) +CFG_DRAM0_SIZE ?= 0x20000000 +CFG_SHMEM_SIZE ?= 0x00200000 +endif + ifeq ($(PLATFORM_FLAVOR),ls1043ardb) CFG_HW_UNQ_KEY_REQUEST ?= y include core/arch/arm/cpu/cortex-armv8-0.mk diff --git a/core/arch/arm/plat-ls/platform_config.h b/core/arch/arm/plat-ls/platform_config.h index d65c53ac7..d5c65b40f 100644 --- a/core/arch/arm/plat-ls/platform_config.h +++ b/core/arch/arm/plat-ls/platform_config.h @@ -61,7 +61,7 @@ #endif #if defined(PLATFORM_FLAVOR_ls1043ardb) || defined(PLATFORM_FLAVOR_ls1046ardb) \ -|| defined(PLATFORM_FLAVOR_ls1012ardb) +|| defined(PLATFORM_FLAVOR_ls1012ardb) || defined(PLATFORM_FLAVOR_ls1012afrwy) /* DUART 1 */ #define UART0_BASE 0x021C0500 #define GIC_BASE 0x01400000