]> git.baikalelectronics.ru Git - uboot.git/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)
commitd2aa3ddf8ec63ffaabd19303cccdde0c8732f3ef
treeb464404864195a2f3cfee19442ab257b3e032b83
parentf3bb47a139fe322f4c53c02a502e78d3f924b051
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