u-boot/board/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
..
ahci.c ahci: mmio_base is a virtual address 2015-04-18 16:54:29 -04:00
board.c sunxi: retrieve FEL-provided values to environment variables 2015-09-29 11:50:07 +02:00
dram_sun4i_auto.c Kill unneeded #include <linux/kconfig.h> 2015-07-27 15:02:12 -04:00
dram_sun5i_auto.c Kill unneeded #include <linux/kconfig.h> 2015-07-27 15:02:12 -04:00
dram_timings_sun4i.h sunxi: dram: Optionally use standard JEDEC timings for sun[457]i 2015-02-02 14:04:15 +01:00
gmac.c sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
Kconfig sunxi: Drop LCD_MODE from A13-OLinuxIno defconfigs 2015-08-31 08:43:41 +02:00
MAINTAINERS sunxi: Rename A10s-Wobo-i5_defconfig to Wobo_i5_defconfig 2015-09-29 11:50:07 +02:00
Makefile sunxi: Convert sun5i boards to use auto dram configuration 2015-02-02 13:55:14 +01:00