aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-rockchip/conf.mk
diff options
context:
space:
mode:
authorJoseph Chen <chenjh@rock-chips.com>2017-07-21 10:19:23 +0800
committerJérôme Forissier <jerome.forissier@linaro.org>2017-07-25 14:46:40 +0200
commit7176a0b42a0d699f713877a99db810fb7a9a6a20 (patch)
treebf671c9ab9d8d2e14bb6c36ec64ae1719fe65c23 /core/arch/arm/plat-rockchip/conf.mk
parent8e6c6ae387f9e16068b27b65196d24b9e97c49d8 (diff)
Add plat-rockchip support
Initial version support for rockchip SoCs.(RK322X and next SoCs). This patch adds to support the RK322X. It is one of the Rockchip family SoCs, which is a 4*A7 multi-cores ARM SoCs. plat-rockchip support features: 1.Support SMP cpu boot up and power down; 2.Support system reset; 3.Support GIC driver initialization. make PLATFORM=rockchip-rk322x Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/arch/arm/plat-rockchip/conf.mk')
-rw-r--r--core/arch/arm/plat-rockchip/conf.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/arch/arm/plat-rockchip/conf.mk b/core/arch/arm/plat-rockchip/conf.mk
new file mode 100644
index 00000000..a6841a67
--- /dev/null
+++ b/core/arch/arm/plat-rockchip/conf.mk
@@ -0,0 +1,21 @@
+PLATFORM_FLAVOR ?= rk322x
+
+ifeq ($(PLATFORM_FLAVOR),rk322x)
+include ./core/arch/arm/cpu/cortex-a7.mk
+endif
+
+arm32-platform-aflags += -mfpu=neon
+
+$(call force,CFG_GENERIC_BOOT,y)
+$(call force,CFG_GIC,y)
+$(call force,CFG_HWSUPP_MEM_PERM_PXN,y)
+$(call force,CFG_PM_STUBS,y)
+$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y)
+$(call force,CFG_PSCI_ARM32,y)
+$(call force,CFG_BOOT_SECONDARY_REQUEST,y)
+$(call force,CFG_8250_UART,y)
+
+ta-targets = ta_arm32
+
+CFG_WITH_STACK_CANARIES ?= y
+CFG_WITH_STATS ?= y