diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-10-16 00:58:22 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2018-10-20 16:23:59 +0100 |
commit | f78f00aa7a2b4e972f717431c6b1933cfbb1b8fc (patch) | |
tree | 069e8842cdb9bc78d81d46e2f5d8b6937e011554 /plat/allwinner | |
parent | 4306051365e5b98efa5dc08b04b5b26caae99434 (diff) |
allwinner: H6: Fix SRAM size
The SRAM in the Allwinner H6 SoC starts at 0x2000, with the last part
ending at 0x117fff (although with gaps in between).
So SUNXI_SRAM_SIZE should be 0xf8000, not 0x98000.
Fix this to map the arisc exception vector area, which we will need
shortly.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/allwinner')
-rw-r--r-- | plat/allwinner/sun50i_h6/include/sunxi_mmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h index 901e536f..ff1eb61e 100644 --- a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h +++ b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h @@ -11,7 +11,7 @@ #define SUNXI_ROM_BASE 0x00000000 #define SUNXI_ROM_SIZE 0x00010000 #define SUNXI_SRAM_BASE 0x00020000 -#define SUNXI_SRAM_SIZE 0x00098000 +#define SUNXI_SRAM_SIZE 0x000f8000 #define SUNXI_SRAM_A1_BASE 0x00020000 #define SUNXI_SRAM_A1_SIZE 0x00008000 #define SUNXI_SRAM_A2_BASE 0x00104000 |