u-boot-brain/arch/arm/cpu/armv7
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
..
am33xx TI ARMv7: Don't use GD before crt0.S has set it 2015-01-16 14:52:52 -05:00
armada-xp arm: armada-xp: Add SPL support used to include the DDR training code 2015-02-06 17:24:56 +01:00
at91 ARM: atmel: sama5d4: add interrupt redirect function 2015-02-07 23:42:50 +01:00
bcm281xx bcm281xx: add support for "USB OTG clock" 2014-12-29 16:31:23 -05:00
bcmcygnus arm: bcmcygnus: Add bcmcygnus u-architecture 2014-08-30 07:46:40 -04:00
bcmnsp arm: bcmnsp: Add bcmnsp u-architecture 2014-08-30 07:46:40 -04:00
exynos arm: Allow lr to be saved by board code 2015-02-16 20:14:54 +01:00
highbank kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
iproc-common arm: iproc: Initial commit of iproc architecture code 2014-08-30 07:46:40 -04:00
keystone keystone: set default pci mode to root complex 2015-01-05 15:13:47 -05:00
kona-common bcm281xx: add support for "USB OTG clock" 2014-12-29 16:31:23 -05:00
ls102xa fsl/ls1021qds: Add deep sleep support 2015-01-24 09:12:32 -06:00
mx5 imx: consolidate set_chipselect_size function 2014-11-20 10:30:19 +01:00
mx6 imx: mx6: Fixed AIPS3 base address issue 2015-02-10 12:48:49 +01:00
omap3 arm: Allow lr to be saved by board code 2015-02-16 20:14:54 +01:00
omap4 Revert "ARM: omap4: Update sdram setting for panda rev A6" 2015-01-05 15:13:45 -05:00
omap5 ARM: OMAP5: DRA7xx: Add support for power rail grouping 2015-01-29 12:00:49 -05:00
omap-common arm: Allow lr to be saved by board code 2015-02-16 20:14:54 +01:00
rmobile arm: rmobile: Add support gose board 2014-11-10 09:43:48 +09:00
s5p-common armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
s5pc1xx kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
socfpga socfpga: Drop redundant save_boot_params 2015-01-05 15:13:44 -05:00
stv0991 stv0991: enable ethernet support 2014-12-09 15:16:19 -05:00
sunxi sunxi: Support the FEL boot mode in the regular u-boot build 2015-02-16 20:23:52 +01:00
tegra20 linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
tegra30 tegra: do not descend into empty directories 2014-11-23 06:49:02 -05:00
tegra114 tegra: do not descend into empty directories 2014-11-23 06:49:02 -05:00
tegra124 ARM: tegra: Add support for nyan-big board 2014-12-11 13:18:44 -07:00
tegra-common kconfig: arm: select CPU_V7 for some new boards 2014-11-13 08:37:18 -05:00
u8500 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
uniphier ARM: UniPhier: leave the last element of boot_device_table empty 2015-02-07 00:15:03 +09:00
vf610 arm: vf610: improve evaluation of reset source 2014-12-01 10:20:22 +01:00
zynq Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze 2015-01-26 06:42:15 -05:00
arch_timer.c arm: add support for arch timer 2014-04-17 17:24:38 -04:00
cache_v7.c ARM: cache_v7: Various minor cleanups 2014-11-12 07:25:41 +01:00
config.mk Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-26 16:49:58 -05:00
cpu.c ARM: armv7 fix spelling of SCTRL 2015-01-30 09:19:17 -05:00
Kconfig ARM: bootm: Allow booting in secure mode on hyp capable systems 2014-11-24 09:09:52 +01:00
lowlevel_init.S arm: use canonical sub mnemonic 2014-01-14 12:38:47 +01:00
Makefile stv0991: Add basic stv0991 architecture support 2014-12-09 15:16:01 -05:00
nonsec_virt.S ARM: HYP/non-sec: Fix the ARCH Timer frequency setting. 2014-12-11 09:41:45 -08:00
psci.S ARM: HYP/non-sec: add generic ARMv7 PSCI code 2014-07-28 17:19:18 +02:00
start.S sunxi: Support the FEL boot mode in the regular u-boot build 2015-02-16 20:23:52 +01:00
syslib.c ARM: OMAP: hide custom bit manipulation function sr32() 2014-04-17 14:39:54 -04:00
virt-dt.c ARM: bootm: do not add PSCI to fdt when booting in secure mode. 2015-01-05 15:02:03 -05:00
virt-v7.c ARM: HYP/non-sec: Make variable gic_dist_addr as a local one 2015-01-23 22:29:14 -06:00