[U-Boot] [PATCH 0/6] Add ARMv8 PSCI framework
macro.wave.z at gmail.com
macro.wave.z at gmail.com
Tue Sep 27 11:29:00 CEST 2016
From: Hongbo Zhang <hongbo.zhang at nxp.com>
This patch set introduces ARMv8 PSCI framework, all the PSCI functions are
implemented a default dummy one, it is up to each platform to implement their
own specific ones.
The first 1/6 patch is a prepare clean up for adding ARMv8 PSCI.
Patches 2/6 to 5/6 introduce new ARMv8 framework and set it up.
The last 6/6 adds a most simple implementation on NXP LS1043 platform, to
verify this framework.
This patch set mainly introduces ARMv8 PSCI framework, for easier review and
merge, further PSCI implementation on LS1043 is coming later.
Hongbo Zhang (6):
ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition
ARMv8: Add secure sections for PSCI text and data
ARMv8: Add basic PSCI framework
ARMv8: Setup PSCI memory and dt
ARMv8: Enable SMC instruction
ARMv8: LS1043A: Enable LS1043A default PSCI support
arch/arm/config.mk | 3 +-
arch/arm/cpu/armv8/Kconfig | 6 +
arch/arm/cpu/armv8/Makefile | 1 +
arch/arm/cpu/armv8/cpu-dt.c | 12 +-
arch/arm/cpu/armv8/cpu.c | 22 ++
arch/arm/cpu/armv8/fsl-layerscape/Makefile | 1 +
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 +-
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 3 +-
arch/arm/cpu/armv8/fsl-layerscape/ls1043a_psci.S | 20 ++
arch/arm/cpu/armv8/psci.S | 286 +++++++++++++++++++++++
arch/arm/cpu/armv8/sec_firmware.c | 2 +-
arch/arm/cpu/armv8/sec_firmware_asm.S | 2 +-
arch/arm/cpu/armv8/u-boot.lds | 65 ++++++
arch/arm/include/asm/armv8/sec_firmware.h | 2 +-
arch/arm/include/asm/macro.h | 2 +-
arch/arm/include/asm/psci.h | 15 ++
arch/arm/include/asm/secure.h | 2 +-
arch/arm/include/asm/system.h | 11 +
arch/arm/lib/bootm-fdt.c | 3 +-
arch/arm/lib/bootm.c | 3 +
arch/arm/lib/psci-dt.c | 5 +-
board/freescale/ls1043ardb/Kconfig | 18 ++
configs/ls1043ardb_defconfig | 1 +
include/configs/ls1043ardb.h | 2 +-
24 files changed, 477 insertions(+), 13 deletions(-)
create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/ls1043a_psci.S
create mode 100644 arch/arm/cpu/armv8/psci.S
--
2.1.4
More information about the U-Boot
mailing list