arm: socfpga: Add secure register access helper functions for SoC 64bits
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Thu, 24 Dec 2020 10:21:02 +0000 (18:21 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Fri, 15 Jan 2021 09:48:36 +0000 (17:48 +0800)
commit2e54a1d46c143f12653a44c8485e7d8bfd573b1d
tree9591c31fb9ed69ba84b1af0346ed7d9e1b970edd
parent313de7335248ff3246e4f2da4e63e50c350a2ac3
arm: socfpga: Add secure register access helper functions for SoC 64bits

These secure register access functions allow U-Boot proper running
at EL2 (non-secure) to access System Manager's secure registers
by calling the ATF's PSCI runtime services (EL3/secure).

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/Makefile
arch/arm/mach-socfpga/include/mach/secure_reg_helper.h [new file with mode: 0644]
arch/arm/mach-socfpga/secure_reg_helper.c [new file with mode: 0644]