u-boot-brain/arch/arm/include/asm/arch-sunxi
Bernhard Nortmann af654d1461 sunxi: retrieve FEL-provided values to environment variables
This patch extends the misc_init_r() function on sunxi boards
to test for the presence of a suitable "sunxi" SPL header. If
found, and the loader ("fel" utility) provided a non-zero value
for the boot.scr address, then the corresponding environment
variable fel_scriptaddr gets set.

misc_init_r() also sets (or clears) the "fel_booted" variable depending
on the active boot device, using the same logic as spl_boot_device().

The goal is to provide sufficient information (within the U-Boot
environment) to make intelligent decisions on how to continue the boot
process, allowing specific customizations for the "FEL boot" case.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-09-29 11:50:07 +02:00
..
clock_sun4i.h sun6i: clock: Add support for the mipi pll 2015-08-14 08:37:39 +02:00
clock_sun6i.h sun6i: clock: Add support for the mipi pll 2015-08-14 08:37:39 +02:00
clock_sun9i.h sunxi: Match sun4i, sun6i, sun9i CCI definitions for NAND and DMA 2015-05-29 13:46:36 +02:00
clock.h sun9i: Add clock_sun9i.h with ccu register layout for sun9i 2015-01-22 12:34:55 +01:00
cpu_sun4i.h sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
cpu_sun9i.h sunxi: rsb: Add sun9i (A80 support) 2015-02-02 13:55:14 +01:00
cpu.h sun9i: Add cpu_sun9i.h with iomem defines 2015-01-22 12:34:55 +01:00
cpucfg_sun6i.h sun6i: Add cpucfg register definitions 2014-11-13 14:49:01 +01:00
display.h sunxi: display: Fix composite video out on sun5i 2015-08-14 08:37:36 +02:00
dma_sun4i.h sunxi: Add DMA definitions 2015-05-29 13:46:36 +02:00
dma.h sunxi: Add DMA definitions 2015-05-29 13:46:36 +02:00
dram_sun4i.h sunxi: Make DRAM_ODT_EN Kconfig setting a bool 2015-05-19 18:46:44 +02:00
dram_sun6i.h sun6i: Add dram initialization code 2014-11-13 14:49:01 +01:00
dram_sun8i_a23.h sunxi: Make DRAM_ODT_EN Kconfig setting a bool 2015-05-19 18:46:44 +02:00
dram_sun8i_a33.h sunxi: Add a33 dram init code 2015-05-04 16:51:51 +02:00
dram.h sunxi: Add a33 dram init code 2015-05-04 16:51:51 +02:00
gpio.h sunxi: nand: Add pinmux and clock settings for NAND support 2015-08-08 16:26:19 +02:00
i2c.h sunxi: Complete i2c support for each supported platform 2015-04-15 16:33:17 +02:00
mmc.h sunxi: Create helper function veryfing valid boot signature on MMC 2015-07-24 16:17:08 +02:00
p2wi.h sun6i: Add new p2wi controller driver 2014-11-13 14:49:01 +01:00
pmic_bus.h sunxi: axp: Move axp pmic register helpers to a separate file 2015-05-04 16:51:53 +02:00
prcm.h sunxi: Add support for the rsb (Reduced Serial Bus) 2015-01-14 14:56:36 +01:00
rsb.h sunxi: rsb: Move rsb_set_device_mode() call to rsb_init() 2015-02-02 13:55:14 +01:00
spl.h sunxi: retrieve FEL-provided values to environment variables 2015-09-29 11:50:07 +02:00
sys_proto.h sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h 2015-05-04 16:51:53 +02:00
timer.h sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
tzpc.h sunxi: Enable non-secure access to RTC on sun6i (A31s) 2015-08-31 08:43:42 +02:00
usb_phy.h sunxi: usb-phy: Never power off the usb ports 2015-08-08 16:26:19 +02:00
watchdog.h sunxi: Use CONFIG_MACH_SUN?I from Kconfig instead of CONFIG_SUN?I 2014-11-05 13:09:58 +01:00