diff options
author | macro.wave.z@gmail.com <macro.wave.z@gmail.com> | 2016-12-08 11:58:22 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-12-15 11:57:25 -0800 |
commit | df88cb3b91019e7d7293c73b01a5913a02be9c32 (patch) | |
tree | 40ce5f83824ccec730b0a765a62ebcdf22b8e75e /arch/arm/config.mk | |
parent | 2d16a1a6c9eeb30fa6828f048df06ee9807792d3 (diff) | |
download | u-boot-df88cb3b91019e7d7293c73b01a5913a02be9c32.tar.gz u-boot-df88cb3b91019e7d7293c73b01a5913a02be9c32.tar.xz u-boot-df88cb3b91019e7d7293c73b01a5913a02be9c32.zip |
ARMv8: Add secure sections for PSCI text and data
This patch adds secure_text, secure_data and secure_stack sections for ARMv8 to
hold PSCI text and data, and it is based on the legacy implementation of ARMv7.
ARMV8_SECURE_BASE defines the address for PSCI secure sections, ARMV8_PSCI and
ARMV8_PSCI_NR_CPUS are firstly used in this patch, so they are introduce here
in Kconfig too.
Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r-- | arch/arm/config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 008da39a6c..3a81f131e2 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -121,7 +121,8 @@ endif # limit ourselves to the sections we want in the .bin. ifdef CONFIG_ARM64 -OBJCOPYFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rela.dyn +OBJCOPYFLAGS += -j .text -j .secure_text -j .secure_data -j .rodata -j .data \ + -j .u_boot_list -j .rela.dyn else OBJCOPYFLAGS += -j .text -j .secure_text -j .secure_data -j .rodata -j .hash \ -j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn |