u-boot/arch/arm
Bernhard Nortmann 320e0570e6 sunxi: FEL - Add the ability to recognize and auto-import uEnv-style data
The patch converts one of the "reserved" fields in the sunxi SPL
header to a fel_uEnv_length entry. When booting over USB ("FEL
mode"), this enables the sunxi-fel utility to pass the string
length of uEnv.txt compatible data; at the same time requesting
that this data be imported into the U-Boot environment.

If parse_spl_header() in the sunxi board.c encounters a non-zero
value in this header field, it will therefore call himport_r() to
merge the string (lines) passed via FEL into the default settings.
Environment vars can be changed this way even before U-Boot will
attempt to autoboot - specifically, this also allows overriding
"bootcmd".

With fel_script_addr set and a zero fel_uEnv_length, U-Boot is
safe to assume that data in .scr format (a mkimage-type script)
was passed at fel_script_addr, and will handle it using the
existing mechanism ("bootcmd_fel").

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-07-15 08:34:34 +02:00
..
cpu Revert "armv8: Enable CPUECTLR.SMPEN for coherency" 2016-07-14 17:36:18 -04:00
dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2016-07-11 18:50:29 -04:00
imx-common common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
include sunxi: FEL - Add the ability to recognize and auto-import uEnv-style data 2016-07-15 08:34:34 +02:00
lib ARM: move #ifdef to match the error handling code 2016-06-24 17:23:13 -04:00
mach-at91 arm: at91: taurus/axm: add DM and DTS support 2016-06-26 20:17:22 +02:00
mach-bcm283x rpi: remove redundant board files 2016-04-11 20:48:23 -04:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos ARM: exynos: Fix build error if SERIAL is disabled in SPL 2016-05-26 12:55:49 +09:00
mach-highbank
mach-integrator
mach-keystone ARM: k2g: Configure reset mux to device reset 2016-06-02 21:42:19 -04:00
mach-kirkwood configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
mach-meson board: amlogic: Rename folder for Amlogic boards 2016-06-24 17:23:09 -04:00
mach-mvebu common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rockchip rockchip: Use 'select' instead of defaults in Kconfig 2016-07-11 14:06:44 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
mach-socfpga common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-stm32 stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00
mach-sunxi sunxi: Support booting from SPI flash 2016-07-15 08:34:34 +02:00
mach-tegra mailbox: add Tegra186 HSP driver 2016-06-19 17:05:55 -06:00
mach-uniphier ARM: uniphier: add external IRQ setup code 2016-07-02 05:44:30 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk arm: clang: Update support slightly 2016-04-01 17:17:39 -04:00
Kconfig dm: mmc: rockchip: Enable CONFIG_DM_MMC_OPS for all boards 2016-07-11 14:06:44 -06:00
Kconfig.debug
Makefile arm: Treat arm946es as v5te 2016-06-02 21:21:34 -04:00