diff mbox

[U-Boot,RFC,2/8] sunxi: add configuration of secure SRAM for A83T

Message ID 20170607004721.24194-3-icenowy@aosc.io
State RFC
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Icenowy Zheng June 7, 2017, 12:47 a.m. UTC
A83T has some secure SRAM that can be used to place the PSCI code.

Add the configuration of them.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 include/configs/sun8i.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Chen-Yu Tsai June 7, 2017, 3:25 a.m. UTC | #1
On Wed, Jun 7, 2017 at 8:47 AM, Icenowy Zheng <icenowy@aosc.io> wrote:
> A83T has some secure SRAM that can be used to place the PSCI code.
>
> Add the configuration of them.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
diff mbox

Patch

diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index 47f2813240..c6ba2a0c87 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -21,6 +21,7 @@ 
 	#define CONFIG_SUNXI_USB_PHYS	4
 #elif defined CONFIG_MACH_SUN8I_A83T
 	#define CONFIG_SUNXI_USB_PHYS	3
+	#define CONFIG_ARMV7_SECURE_BASE	SUNXI_SRAM_B_BASE
 #elif defined CONFIG_MACH_SUN8I_V3S
 	#define CONFIG_SUNXI_USB_PHYS	1
 #else