diff mbox

[U-Boot,03/10] sunxi: Add base address of secure SRAM B for sun9i/A80

Message ID 20161109102136.13479-4-wens@csie.org
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Chen-Yu Tsai Nov. 9, 2016, 10:21 a.m. UTC
The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved
for CPU0 hotplug flags.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Hans de Goede Nov. 13, 2016, 7:06 p.m. UTC | #1
Hi,

On 09-11-16 11:21, Chen-Yu Tsai wrote:
> The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved
> for CPU0 hotplug flags.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

LGTM:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
>  arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
> index 88b48c644c06..e9839eecaa92 100644
> --- a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
> +++ b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
> @@ -20,6 +20,7 @@
>  #define SUNXI_CPUCFG_BASE		0x01700000
>  #define SUNXI_CCI400_BASE		0x01790000
>
> +#define SUNXI_SRAM_B_BASE		0x00020000
>  #define SUNXI_SRAM_D_BASE		0x08100000
>
>  /* AHB0 Module */
>
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
index 88b48c644c06..e9839eecaa92 100644
--- a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
+++ b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
@@ -20,6 +20,7 @@ 
 #define SUNXI_CPUCFG_BASE		0x01700000
 #define SUNXI_CCI400_BASE		0x01790000
 
+#define SUNXI_SRAM_B_BASE		0x00020000
 #define SUNXI_SRAM_D_BASE		0x08100000
 
 /* AHB0 Module */