u-boot/arch/arm/cpu/armv7/sunxi
Siarhei Siamashka 840fe95c3b sunxi: Support the FEL boot mode in the regular u-boot build
So that the CONFIG_SPL_FEL option is not needed anymore. And the regular
SPL binary, generated by the default u-boot build, is now also bootable
over USB in the FEL mode. The SPL still can boot from the SD card too.

A bunch of system registers need to be saved/restored in order to ensure
that the IRQ handler still works in the BROM FEL code after getting
control back from the SPL. This is done in the sunxi code instead of
abusing ifdefs in 'start.S'.

The decision whether to load the main u-boot binary from the SD card or
return to the FEL code in the BROM is done at runtime.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
[hdegoede@redhat.com: Since we now restore various regs before returning to
 the FEL BROM code we can drop the sunxi specific #ifdefs in start.S]
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-02-16 20:23:52 +01:00
..
board.c sunxi: Support the FEL boot mode in the regular u-boot build 2015-02-16 20:23:52 +01:00
clock.c sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
clock_sun4i.c sunxi: Add video pll clock functions 2014-11-25 13:38:46 +01:00
clock_sun6i.c sunxi: Drop pll6 setting from clock_init_uart 2015-01-22 12:34:55 +01:00
clock_sun9i.c sun9i: Add sun9i (A80) clock setup support 2015-01-22 12:34:55 +01:00
config.mk sunxi: Normalise FEL support 2015-02-16 20:15:09 +01:00
cpu_info.c sunxi: axp221: Add axp223 support 2015-01-14 14:56:36 +01:00
dram_helpers.c sunxi: dram: Un-inline dram helper functions 2015-02-16 20:05:52 +01:00
dram_sun4i.c sunxi: Move await_completion dram helper to dram.h 2015-01-14 14:56:37 +01:00
dram_sun6i.c sunxi: Fix buggy sun6i/sun8i DRAM size detection logic 2015-01-14 14:56:37 +01:00
dram_sun8i.c sunxi: Fix buggy sun6i/sun8i DRAM size detection logic 2015-01-14 14:56:37 +01:00
fel_utils.S sunxi: Support the FEL boot mode in the regular u-boot build 2015-02-16 20:23:52 +01:00
Makefile sunxi: Normalise FEL support 2015-02-16 20:15:09 +01:00
p2wi.c sun6i: s/SUNXI_*P2WI*/SUN6I_*P2WI*/ 2015-01-14 14:56:36 +01:00
pinmux.c dm: sunxi: Add pinmux functions which take a bank parameter 2014-11-05 13:09:58 +01:00
prcm.c ARM: sunxi: Allow specifying module in prcm apb0 init function 2014-10-24 09:35:39 +02:00
psci.S sun7i: Move psci_arch_init close to text_end 2015-01-14 14:56:40 +01:00
rsb.c sunxi: rsb: Move rsb_set_device_mode() call to rsb_init() 2015-02-02 13:55:14 +01:00
start.c sunxi: add sun7i cpu, board and start of day support 2014-05-25 16:12:40 +02:00
timer.c sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
u-boot-spl.lds sunxi: Add i2c support 2014-07-18 19:41:30 +01:00
usbc.c sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin 2015-01-14 14:56:40 +01:00