ARM: bcm283x: Add BCM283x_BASE define
authorMatthias Brugger <mbrugger@suse.com>
Wed, 24 Jul 2019 14:39:05 +0000 (15:39 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Fri, 6 Sep 2019 16:16:59 +0000 (18:16 +0200)
commit1cfac5204c5f4128072878653c6e36336f5cd488
treed44fbe28eff92be122e99599c011c7fa2e275c04
parent193279d784e2ca2225815803b9a63f1ce3c7389d
ARM: bcm283x: Add BCM283x_BASE define

Devices of bcm283x have different base address, depending if they are on
bcm2835 or bcm2836/7. Use BCM283x_BASE depending on the SoC you want to
build and only add the offset in the header files.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Andrei Gherzan <andrei@balena.io>
arch/arm/mach-bcm283x/Kconfig
arch/arm/mach-bcm283x/include/mach/mbox.h
arch/arm/mach-bcm283x/include/mach/sdhci.h
arch/arm/mach-bcm283x/include/mach/timer.h
arch/arm/mach-bcm283x/include/mach/wdog.h