[U-Boot] [PATCH 0/3] RPi one binary for RPi3/4 and RPi1/2
matthias.bgg at kernel.org
matthias.bgg at kernel.org
Fri Sep 27 09:00:29 UTC 2019
From: Matthias Brugger <mbrugger at suse.com>
In this series we prepare the RaspberryPi source code
to be able to build one binary for RPi[3,4] and one for RPi[1,2].
To achieve this we need to set the IO base address on runtime. Apart
from that, for arm64 we also need to set memory region correctly.
This patches fix this stuff. With this we could create one binary for
each armv7 and armv8 based RPis. There is still some work to do to
create a unified config, which will be done in a later patch series.
Matthias Brugger (3):
ARM: bcm283x: Move BCM283x_BASE to a global variable
ARM: bcm283x: Set rpi_bcm283x_base at run-time
ARM: bcm283x: Set memory map at run-time
arch/arm/mach-bcm283x/Kconfig | 6 -
arch/arm/mach-bcm283x/include/mach/base.h | 11 ++
arch/arm/mach-bcm283x/include/mach/mbox.h | 2 +-
arch/arm/mach-bcm283x/include/mach/sdhci.h | 2 +-
arch/arm/mach-bcm283x/include/mach/timer.h | 2 +-
arch/arm/mach-bcm283x/include/mach/wdog.h | 2 +-
arch/arm/mach-bcm283x/init.c | 123 +++++++++++++++++++++
arch/arm/mach-bcm283x/mbox.c | 8 +-
arch/arm/mach-bcm283x/reset.c | 7 +-
board/raspberrypi/rpi/lowlevel_init.S | 14 +++
board/raspberrypi/rpi/rpi.c | 45 --------
include/configs/rpi.h | 7 +-
12 files changed, 169 insertions(+), 60 deletions(-)
create mode 100644 arch/arm/mach-bcm283x/include/mach/base.h
--
2.22.0
More information about the U-Boot
mailing list