9
0
Fork 0
barebox/arch/arm/mach-mvebu/include/mach
Uwe Kleine-König f15bb506aa mvebu: get initial position of register window from image header
A problem when using 2nd stage booting on mvebu is that the first bootloader
already switched the register window location from 0xd0000000 to
0xf1000000 by writing to 0xd0000080. When the second bootloader also
tries to do this switch it writes to the wrong location resulting in an
exception and so a boot failure.

For this reason the base address of the register window is passed in the
barebox header and picked up from there by early code. In a further
patch bootm is taught to put the actual position of the window there for
the second bootloader to finally make second stage booting work.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2017-03-02 14:03:43 +01:00
..
armada-370-xp-regs.h ARM: mvebu: armada-xp: Limit PUP access to Armada XP 2015-04-27 08:09:35 +02:00
barebox-arm-head.h mvebu: get initial position of register window from image header 2017-03-02 14:03:43 +01:00
common.h mvebu: get initial position of register window from image header 2017-03-02 14:03:43 +01:00
debug_ll.h arm: mvebu: introduce common lowlevel and early init 2013-05-21 19:48:17 +02:00
dove-regs.h ARM: mvebu: add clock aliases for spi0/spi1 on Dove 2013-07-09 08:56:07 +02:00
dove.h arm: initial support for Marvell Dove SoCs 2013-05-15 07:39:27 +02:00
kirkwood-regs.h arm: mvebu: introduce common lowlevel and early init 2013-05-21 19:48:17 +02:00
kirkwood.h arm: mvebu: initial support for Marvell Kirkwood SoCs 2013-05-17 07:40:13 +02:00
lowlevel.h mvebu: rework how memory is detected 2017-02-16 08:16:27 +01:00
socid.h ARM: mvebu: Move PCIe register defines to socid.h 2015-04-27 08:09:35 +02:00