From: Andre Przywara Date: Thu, 21 Jun 2018 23:34:16 +0000 (+0100) Subject: allwinner: sun50i_a64: remove unneeded VER_REG offset X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=1f4b638a38ed0fb4f6bd3faee475ae50f485020a;p=project%2Fbcm63xx%2Fatf.git 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 Signed-off-by: Andre Przywara --- diff --git a/plat/allwinner/sun50i_a64/include/sunxi_mmap.h b/plat/allwinner/sun50i_a64/include/sunxi_mmap.h index cb202a83..7d46487d 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