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>
Fri, 12 Nov 2021 14:33:49 +0000 (15:33 +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 4f122f63b54607854e9273b50869b2160fef2585..f2a54116237098006605ba5e009d6f2134a6ebd0 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();