ARM: bcm283x: Set rpi_bcm283x_base at run-time
authorMatthias Brugger <mbrugger@suse.com>
Tue, 19 Nov 2019 15:01:04 +0000 (16:01 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:19:26 +0000 (11:19 +0100)
As part of the effort to create one binary for several bcm83x SoCs
we read the IO base address from device-tree.

Change-Id: I9816b3576a4fd6637bbf11bb6aeb6fa3bb8de456
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
arch/arm/mach-bcm283x/init.c

index 4f122f6..f2a5411 100644 (file)
@@ -116,8 +116,6 @@ static void rpi_update_mem_map(void) {}
 
 unsigned long rpi_bcm283x_base = 0x3f000000;
 
-unsigned long rpi_bcm283x_base;
-
 int arch_cpu_init(void)
 {
        icache_enable();