summaryrefslogtreecommitdiff
path: root/include/configs/sun50i.h
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2021-01-11 23:11:34 +0300
committerAndre Przywara <andre.przywara@arm.com>2021-01-26 00:52:00 +0300
commit44726096cfdfe4634a02a6beee7aa4c91aeb9503 (patch)
tree48541e1aad2d1b1adefd495e511541b96c9c1867 /include/configs/sun50i.h
parentfbd37d8d28450a29180a9df1e7546c7f0cb60a38 (diff)
downloadu-boot-44726096cfdfe4634a02a6beee7aa4c91aeb9503.tar.xz
sunxi: Introduce common symbol for H6 like SoCs
It turns out that there are at least 2 other SoCs which have basically the same memory map, similar clocks and other features as H6. It's very likely that we'll see more such SoCs in the future. In order to ease porting to new SoCs and lower ifdef clutter, introduce common symbol for them. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/configs/sun50i.h')
-rw-r--r--include/configs/sun50i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sun50i.h b/include/configs/sun50i.h
index e050a5299f..bc2e3a3d00 100644
--- a/include/configs/sun50i.h
+++ b/include/configs/sun50i.h
@@ -10,7 +10,7 @@
* A64 specific configuration
*/
-#ifndef CONFIG_MACH_SUN50I_H6
+#ifndef CONFIG_SUN50I_GEN_H6
#define GICD_BASE 0x1c81000
#define GICC_BASE 0x1c82000
#else