summaryrefslogtreecommitdiff
path: root/board/sunxi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-03-01 03:03:15 (GMT)
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-20 11:30:01 (GMT)
commit0918648d823d6a5a9bd5fc37ddcaa9691e84ce88 (patch)
treeb464404864195a2f3cfee19442ab257b3e032b83 /board/sunxi
parentacef236454a97c65a9d95fc5845b38ce5602f506 (diff)
downloadu-boot-0918648d823d6a5a9bd5fc37ddcaa9691e84ce88.tar.xz
sunxi: Add PSCI support for R40
The R40's CPU controls are a combination of sun6i and sun7i. All controls are in the CPUCFG block, and it seems the R40 does not have a PRCM block. The core reset, power gating and clamp controls are grouped like sun6i. Last, the R40 does not have a secure SRAM block. This patch adds a PSCI implementation for CPU bring-up and hotplug for the R40. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 0040e7e..c4fba84 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -137,6 +137,9 @@ config MACH_SUN8I_H3
config MACH_SUN8I_R40
bool "sun8i (Allwinner R40)"
select CPU_V7
+ select CPU_V7_HAS_NONSEC
+ select CPU_V7_HAS_VIRT
+ select ARCH_SUPPORT_PSCI
select SUNXI_GEN_SUN6I
select SUPPORT_SPL