diff options
author | Hongbo Zhang <hongbo.zhang@nxp.com> | 2016-07-21 18:09:39 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-07-26 09:03:00 -0700 |
commit | 3288628a8d23681c865e91e65a341d48eb5fed73 (patch) | |
tree | 21bea4ebe5af7aef9286f62397db7b16e258bc30 /include | |
parent | aeb901f2a6c19e399354345ad1acd67420401a10 (diff) | |
download | u-boot-imx-3288628a8d23681c865e91e65a341d48eb5fed73.zip u-boot-imx-3288628a8d23681c865e91e65a341d48eb5fed73.tar.gz u-boot-imx-3288628a8d23681c865e91e65a341d48eb5fed73.tar.bz2 |
ARMv7: PSCI: ls102xa: move secure text section into OCRAM
LS1021 offers two secure OCRAM blocks for trustzone.
This patch moves all the secure text sections into the OCRAM.
Signed-off-by: Wang Dongsheng <dongsheng.wang@nxp.com>
Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ls1021aqds.h | 2 | ||||
-rw-r--r-- | include/configs/ls1021atwr.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index ba3331f..47180f9 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -13,6 +13,8 @@ #define CONFIG_ARMV7_PSCI_1_0 #define CONFIG_ARMV7_PSCI_NR_CPUS CONFIG_MAX_CPUS +#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR + #define CONFIG_SYS_FSL_CLK #define CONFIG_DISPLAY_CPUINFO diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 5b6e0a5..2f19950 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -13,6 +13,8 @@ #define CONFIG_ARMV7_PSCI_1_0 #define CONFIG_ARMV7_PSCI_NR_CPUS CONFIG_MAX_CPUS +#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR + #define CONFIG_SYS_FSL_CLK #define CONFIG_DISPLAY_CPUINFO |