[U-Boot] [PATCH 0/4] sunxi: PSCI support for H3
Chen-Yu Tsai
wens at csie.org
Wed Jan 6 08:13:05 CET 2016
Hi everyone,
This series enables PSCI support for the H3. Like other Allwinner SoCs,
the implementation only supports PSCI 0.1, specifically only secondary
CPU boot/hotplug.
Patch 1 supports the SMTA (previously called TZPC) TrustZone hardware
on H3. This controls non-secure access to some important hardware blocks.
Patch 2 supports the security switch in H3's CCU. This is H3 only. No
other SoCs have this feature.
Patch 3 supports H3 using sun6i PSCI implementation. H3 uses the same
power sequence as sun6i, including the power clamps. This is shown in
Allwinner's SDK, and confirmed / tested by Siarhei.
Patch 4 enables PSCI support for the H3 in Kconfig.
I've only tested booting HYP/SMP on my Orange Pi PC. Hotplugging was not
tested, but should work.
Regards
ChenYu
Chen-Yu Tsai (4):
sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3
sunxi: Support H3 CCU security switches
sunxi: Support PSCI ops on Allwinner H3
sunxi: Enable booting non-secure and virtualization for H3
arch/arm/cpu/armv7/sunxi/Makefile | 1 +
arch/arm/cpu/armv7/sunxi/clock.c | 5 +++++
arch/arm/cpu/armv7/sunxi/clock_sun6i.c | 13 +++++++++++++
arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 4 ++--
arch/arm/cpu/armv7/sunxi/tzpc.c | 11 ++++++++++-
arch/arm/include/asm/arch-sunxi/clock.h | 1 +
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 7 +++++++
arch/arm/include/asm/arch-sunxi/tzpc.h | 13 ++++++++++++-
board/sunxi/Kconfig | 3 +++
9 files changed, 54 insertions(+), 4 deletions(-)
--
2.6.4
More information about the U-Boot
mailing list