]> git.sur5r.net Git - u-boot/commit
sunxi: Add PSCI support for R40
authorChen-Yu Tsai <wens@csie.org>
Wed, 1 Mar 2017 03:03:15 +0000 (11:03 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Apr 2017 11:30:01 +0000 (13:30 +0200)
commit0918648d823d6a5a9bd5fc37ddcaa9691e84ce88
treeb464404864195a2f3cfee19442ab257b3e032b83
parentacef236454a97c65a9d95fc5845b38ce5602f506
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>
arch/arm/cpu/armv7/sunxi/psci.c
board/sunxi/Kconfig