diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2021-01-11 21:11:34 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-01-25 21:52:00 +0000 |
commit | 44726096cfdfe4634a02a6beee7aa4c91aeb9503 (patch) | |
tree | 48541e1aad2d1b1adefd495e511541b96c9c1867 /arch/arm/mach-sunxi/rmr_switch.S | |
parent | fbd37d8d28450a29180a9df1e7546c7f0cb60a38 (diff) | |
download | u-boot-44726096cfdfe4634a02a6beee7aa4c91aeb9503.tar.gz |
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 'arch/arm/mach-sunxi/rmr_switch.S')
-rw-r--r-- | arch/arm/mach-sunxi/rmr_switch.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sunxi/rmr_switch.S b/arch/arm/mach-sunxi/rmr_switch.S index fafd306f95..33e55d4968 100644 --- a/arch/arm/mach-sunxi/rmr_switch.S +++ b/arch/arm/mach-sunxi/rmr_switch.S @@ -30,7 +30,7 @@ .text -#ifndef CONFIG_MACH_SUN50I_H6 +#ifndef CONFIG_SUN50I_GEN_H6 ldr r1, =0x017000a0 @ MMIO mapped RVBAR[0] register #else ldr r1, =0x09010040 @ MMIO mapped RVBAR[0] register |