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
..
2015-09-11 15:01:25 -04:00
2015-09-11 17:12:57 -04:00
2015-09-11 14:59:16 -04:00
2015-09-28 10:48:23 -04:00
2015-08-05 08:44:06 -06:00
2015-09-11 14:57:40 -04:00
2014-11-26 11:21:14 -05:00
2015-09-07 13:41:04 +02:00
2015-01-29 13:11:02 +01:00
2015-09-28 10:48:24 -04:00
2015-09-11 14:52:46 -04:00
2015-09-11 14:59:16 -04:00
2015-03-24 10:50:50 -04:00
2015-09-16 16:10:22 -07:00
2015-09-15 13:55:23 -04:00
2015-08-13 13:06:03 -07:00
2015-01-12 09:38:47 -05:00