aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-06-22 00:34:16 +0100
committerAndre Przywara <andre.przywara@arm.com>2018-06-28 23:47:30 +0100
commit1f4b638a38ed0fb4f6bd3faee475ae50f485020a (patch)
tree94aaf41a0d817746941b481c90ea7b3b40f409dd /plat
parent2dde1f51493a252184807bd8f71a4d7058ea9178 (diff)
downloadplatform_external_arm-trusted-firmware-1f4b638a38ed0fb4f6bd3faee475ae50f485020a.tar.gz
platform_external_arm-trusted-firmware-1f4b638a38ed0fb4f6bd3faee475ae50f485020a.tar.bz2
platform_external_arm-trusted-firmware-1f4b638a38ed0fb4f6bd3faee475ae50f485020a.zip
allwinner: sun50i_a64: remove unneeded VER_REG offset
The relative VER_REG *offset* is the same across all known SoCs, so we can define this offset near it's user. Remove it from the memory map. Reported-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/allwinner/sun50i_a64/include/sunxi_mmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/plat/allwinner/sun50i_a64/include/sunxi_mmap.h b/plat/allwinner/sun50i_a64/include/sunxi_mmap.h
index cb202a839..7d46487dc 100644
--- a/plat/allwinner/sun50i_a64/include/sunxi_mmap.h
+++ b/plat/allwinner/sun50i_a64/include/sunxi_mmap.h
@@ -27,7 +27,6 @@
#define SUNXI_CPU_MBIST_BASE 0x01502000
#define SUNXI_CPUCFG_BASE 0x01700000
#define SUNXI_SYSCON_BASE 0x01c00000
-#define SUNXI_SRAM_VER_REG (SUNXI_SYSCON_BASE + 0x24)
#define SUNXI_DMA_BASE 0x01c02000
#define SUNXI_KEYMEM_BASE 0x01c0b000
#define SUNXI_SMHC0_BASE 0x01c0f000