Skip to content

Commit

Permalink
plat-ls:add LS1012AFRWY platform flavors
Browse files Browse the repository at this point in the history
Signed-off-by: Vinitha V Pillai <[email protected]>
Signed-off-by: Pankaj Gupta <[email protected]>
Reviewed-by: Sahil Malhotra <[email protected]>
  • Loading branch information
nxa27423 authored and jforissier committed Aug 14, 2018
1 parent 906cd45 commit 17eba58
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]> [@nxa27423]
R: Pankaj Gupta <[email protected]>
S: Maintained
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
9 changes: 9 additions & 0 deletions core/arch/arm/plat-ls/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/arch/arm/plat-ls/platform_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17eba58

Please sign in to comment.