u-boot-brain/arch/arm/mach-mvebu
Chris Packham 2fd4284051 ARM: mach-mvebu: handle fall-back to UART boot
The bootROM in the Armada-38x (and similar) SoC has two modes for UART
boot. The first is when the normal boot media is blank (or otherwise
missing the kwb header). The second is when the boot sequence has been
interrupted with the magic byte sequence on the UART lines.

In the first mode the bootROM routine and error code register will
indicate that there was an error booting from the configured media in
bits 7:0. In the second mode there is no error to indicate but the boot
source is provided via bits 31:28.

Handle both situations so that kwboot can be used for both boot
strapping a blank board and for intercepting a regular boot sequence.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Signed-off-by: Stefan Roese <sr@denx.de>
2018-09-19 08:59:26 +02:00
..
armada8k arm64: mvebu: armada-8k: support environment in SD/eMMC 2018-09-19 08:59:26 +02:00
armada3700 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
include/mach ARM: mach-mvebu: handle fall-back to UART boot 2018-09-19 08:59:26 +02:00
serdes mvebu: a38x: Force receiver detected on PCIe lanes 2018-06-05 07:25:42 +02:00
.gitignore mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
arm64-common.c lib: fdtdec: Rename routine fdtdec_setup_memory_size() 2018-07-19 10:49:56 +02:00
cpu.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efuse.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig mvebu: support UART boot image 2018-08-06 14:07:23 +02:00
kwbimage.cfg.in mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
lowlevel_spl.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile mvebu: support UART boot image 2018-08-06 14:07:23 +02:00
mbus.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c ARM: mach-mvebu: handle fall-back to UART boot 2018-09-19 08:59:26 +02:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00