u-boot/board
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
..
8dtech/eco5pk omap3/am33xx: mux: fix several checkpatch issues 2014-10-23 11:53:02 -04:00
a3m071 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
a4m072 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
abilis/tb100 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
alphaproject/ap_sh4a_4a net: cosmetic: Name ethaddr variables consistently 2015-04-18 11:11:32 -06:00
altera arm: socfpga: update MAINTAINERS' file for cyclone5_socdk and arria5_socdk 2015-09-23 03:55:28 +02:00
amcc arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
AndesTech/adp-ag101p NDS32: Generic Board Support and Unsupport 2015-08-28 11:46:35 -04:00
Arcturus/ucp1020 Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
aristainetos imx6, aristaintetos2: add me as maintainer 2015-09-20 10:03:25 +02:00
armadeus/apf27 remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
armltd arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
astro/mcf5373l m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
atmark-techno/armadillo-800eva kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
atmel at91sam9260ek: add missing files to MAINTAINERS 2015-08-28 12:33:18 -04:00
avionic-design ARM: tegra: move NVIDIA common files to arch/arm/mach-tegra 2015-05-13 09:46:19 -07:00
avnet kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bachmann/ot1200 ot1200: Fix the error handling in board_eth_init() 2015-09-13 11:05:31 +02:00
barco mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
Barix/ipam390 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bct-brettl2 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf506f-ezkit kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf518f-ezbrd net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf525-ucr2 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf526-ezbrd net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf527-ad7160-eval kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf527-ezkit net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf527-sdp kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf533-ezkit kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf533-stamp kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf537-minotaur net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf537-pnav net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf537-srv1 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf537-stamp net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
bf538f-ezkit kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf548-ezkit kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf561-acvilon kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf561-ezkit kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bf609-ezkit Kconfig: Move CONFIG_DESIGNWARE_ETH to Kconfig 2015-04-18 11:11:36 -06:00
birdland/bav335x usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
blackstamp kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
blackvme kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
bluegiga/apx4devkit kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
bluewater/snapper9260 ARM: at91: move board select menu and common settings 2015-02-21 08:23:51 -05:00
boundary/nitrogen6x nitrogen6x: Fix the error handling in board_eth_init() 2015-09-13 11:05:15 +02:00
br4 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
broadcom arm: bcmcygnus: Enable Ethernet support 2015-08-12 20:47:28 -04:00
buffalo/lsxl net: Fix a warning added by 76ec988 2015-05-28 08:18:25 -04:00
BuR board/BuR: simplify default IP-setup on B&R boards. 2015-09-11 14:05:34 -04:00
BuS/eb_cpu5282 arm: Remove vl_ma2sc board 2015-09-11 17:12:57 -04:00
calao/usb_a9263 ARM: at91: remove non-generic boards 2015-05-13 13:01:25 +02:00
canmb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
CarMediaLab/flea3 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
cirrus/edb93xx kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
cloudengines/pogo_e02 arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo() 2014-10-23 09:59:21 -04:00
cm-bf527 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
cm-bf533 MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
cm-bf537e net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
cm-bf537u net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
cm-bf548 MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
cm-bf561 MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
cm5200 cm5200: fix FAT function prototypes 2015-08-14 11:05:28 -04:00
cobra5272 m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
compal/paz00 ARM: tegra: move NVIDIA common files to arch/arm/mach-tegra 2015-05-13 09:46:19 -07:00
compulab mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
congatec/cgtqmx6eval cgtqmx6eval: Add a maintainer entry 2015-09-20 11:10:26 +02:00
coreboot x86: qemu: Create separate i440fx and q35 device trees 2015-06-04 03:03:18 -06:00
corscience/tricorder omap_hsmmc: Board-specific TWL4030 MMC power initializations 2014-12-04 21:28:15 -05:00
creative/xfi3 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
d-link/dns325 Change e-mail address of Stefan Herbrechtsmeier 2015-01-12 09:38:47 -05:00
dave/common powerpc: ppc4xx: remove PPChameleonEVB, CATcenter boards 2015-01-23 16:53:36 -05:00
davedenx/aria arm: Remove qong board 2015-09-11 14:59:16 -04:00
davinci arm: Remove da830evm board 2015-09-28 10:48:23 -04:00
dbau1x00 arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
denx arm: socfpga: mcvevk: Update DRAM clock to 400MHz 2015-09-12 20:25:00 +02:00
dnp5370 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
efi x86: Add EFI board code 2015-08-05 08:44:06 -06:00
egnite/ethernut5 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
embest/mx6boards mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
emulation x86: qemu: Support operation as an EFI payload 2015-08-05 08:44:08 -06:00
esd arm: Remove otc570 board 2015-09-11 14:57:40 -04:00
espt remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
firefly/firefly-rk3288 rockchip: Add basic support for firefly-rk3288 2015-09-02 21:28:24 -06:00
freescale imx: mx7dsabresd: drop code for CONFIG_CMD_BMODE 2015-09-24 11:32:18 +02:00
gaisler sparc: move CONFIG_SYS_TEXT_BASE to Kconfig 2014-11-04 15:01:46 -05:00
gateworks/gw_ventana mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
gdsys Merge git://git.denx.de/u-boot-fdt 2014-11-26 11:21:14 -05:00
google rockchip: Add basic support for jerry 2015-09-02 21:28:24 -06:00
gumstix pepper: Implement Board Detection mechanism 2015-06-08 17:32:40 -04:00
h2200 h2200: Fix build error 2015-09-07 13:41:04 +02:00
highbank ARM: highbank: remove DRAM bank setup 2015-08-12 12:08:19 -04:00
hisilicon/hikey ARM: hikey: hi6220: Migrate over to DM_SERIAL and use UART3 by default. 2015-09-28 10:48:22 -04:00
htkw/mcx mcx: update maintainer and convert to generic board 2015-04-09 16:48:03 -04:00
ibf-dsp561 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
ids/ids8313 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
ifm net: cosmetic: Name ethaddr variables consistently 2015-04-18 11:11:32 -06:00
imgtec/malta malta: delay after reset 2015-01-29 13:11:02 +01:00
imx31_phycore kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
in-circuit/grasshopper avr32: convert to dram_init() 2015-02-17 22:52:41 +01:00
inka4x0 powerpc: inka4x0: convert to generic board 2015-08-14 16:27:09 -04:00
intel x86: Enable PCIe controller on quark/galileo 2015-09-09 07:48:03 -06:00
intercontrol/digsy_mtc fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
inversepath/usbarmory ARM: mx5: add support for USB armory board 2015-04-09 09:14:12 +02:00
iomega/iconnect cosmetic: kirkwood: style fixes in kwbimage.cfg files 2015-01-25 23:56:09 +01:00
ip04 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
ipek01 powerpc: ipek01: convert to generic board 2015-08-14 16:27:10 -04:00
isee igep00x0: Switch to use the generic distro configuration and environment. 2015-09-11 17:15:28 -04:00
jupiter fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
keymile KM/IVM: remove ivm_read_eeprom(void) 2015-02-16 15:48:36 -05:00
kmc/kzm9g kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
kosagi/novena mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
LaCie arm: Remove wireless_space board 2015-09-28 10:48:24 -04:00
lge/sniper sniper: Keypad support, with recovery and fastboot key combinations 2015-08-12 20:47:40 -04:00
logicpd arm: Remove mx31_litekit board 2015-09-11 14:52:46 -04:00
Marvell arm: Remove rd6281a board 2015-09-11 14:59:16 -04:00
maxbcm arm: mvebu: serdes: Move Armada XP SERDES / PHY init code into new directory 2015-07-23 10:38:05 +02:00
micronas/vct arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mini-box/picosam9g45 arm: at91: add support for mini-box picosam9g45 board 2015-08-21 15:47:04 +02:00
mosaixtech/icon kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
motionpro fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8308_p1m fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpl remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
mpr2 sh: consolidate CONFIG_SYS_CPU defines 2014-11-13 08:48:48 +09:00
ms7720se sh: consolidate CONFIG_SYS_CPU defines 2014-11-13 08:48:48 +09:00
ms7722se remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
ms7750se remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
munices fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
nokia/rx51 Nokia RX-51: Fix calculating return address in save_boot_params 2015-06-12 08:11:18 -04:00
nvidia ARM: tegra: Add p2371-2180 board 2015-09-16 16:10:22 -07:00
olimex/mx23_olinuxino arm: mxs: olinuxino: move DRAM config tuning to SPL 2014-12-19 15:32:14 +01:00
omicron/calimain kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
openrisc/openrisc-generic kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
overo overo: Fix regression introduced in a6b541b 2015-05-10 09:58:44 -04:00
pandora omap_hsmmc: Board-specific TWL4030 MMC power initializations 2014-12-04 21:28:15 -05:00
pb1x00 MIPS: kconfig: globally define CONFIG_SYS_CPU for MIPS 2014-11-01 18:18:04 +01:00
pdm360ng fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
phytec usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
ppcag/bg0900 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
pr1 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
qemu-mips MIPS: kconfig: merge targets qemu_mips and qemu_mips64 2014-11-01 18:18:04 +01:00
quipos/cairo cairo: add missing MAINTAINERS file 2015-07-07 11:39:41 +02:00
raidsonic/ib62x0 cosmetic: kirkwood: style fixes in kwbimage.cfg files 2015-01-25 23:56:09 +01:00
raspberrypi Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
renesas arm: rmobile: Add Stout board support 2015-08-31 17:32:59 +09:00
ronetix net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
samsung Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
sandbox sandbox: Add test function to advance time 2015-05-05 20:58:18 -06:00
sandisk/sansa_fuze_plus kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
sbc8349 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
sbc8548 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
sbc8641d fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
schulercontrol/sc_sps_1 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
Seagate Add support for Seagate BlackArmor NAS220 2015-01-14 11:37:39 -05:00
seco arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
shmin remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
siemens at91, taurus, smartweb: add dfu support 2015-09-11 09:35:40 +02:00
silica/pengwyn net: cosmetic: Name ethaddr variables consistently 2015-04-18 11:11:32 -06:00
socrates nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE 2015-03-30 23:24:39 -05:00
solidrun/mx6cuboxi mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
spear arm: spear: Fix booting - relocate vector table to 0 (low-vector) 2015-08-28 12:33:16 -04:00
st arm: Remove nhk8815 boards and nomadik arch 2015-09-11 14:56:04 -04:00
sunxi sunxi: retrieve FEL-provided values to environment variables 2015-09-29 11:50:07 +02:00
synopsys board: axs103 - add maintainer information 2015-07-01 17:19:33 +03:00
sysam/amcore m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
syteco/zmx25 ARM: remove jadecpu board support 2015-02-24 17:06:51 -05:00
t3corp kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
tbs/tbs2910 tbs2910: remove SYS_SOC from board specific Kconfig 2015-09-02 15:34:12 +02:00
tcl/sl50 board: Add Toby-Churchill SL50 board support. 2015-09-11 17:15:27 -04:00
tcm-bf518 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
tcm-bf537 net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
technexion omap_hsmmc: Board-specific TWL4030 MMC power initializations 2014-12-04 21:28:15 -05:00
technologic/ts4800 ARM: ts4800: add ethernet support 2015-09-02 15:26:13 +02:00
teejet/mt_ventoux omap3/am33xx: mux: fix several checkpatch issues 2014-10-23 11:53:02 -04:00
terasic arm: socfpga: Add support for the Terasic DE-0 Atlas board 2015-09-04 11:54:21 +02:00
ti ti816x: Switch to SYS_GENERIC_BOARD 2015-09-15 13:55:23 -04:00
timll lpc32xx: devkit3250: add spl build support 2015-08-12 20:47:34 -04:00
toradex colibri_t20: fix reset out pin 2015-08-13 13:06:03 -07:00
tqc tqma6_mba6: Fix the error handling in board_eth_init() 2015-09-13 11:05:50 +02:00
udoo udoo: Fix the error handling in board_eth_init() 2015-09-13 11:06:08 +02:00
v38b MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
ve8313 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
vscom/baltos usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
wandboard mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
warp mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
woodburn imx: woodburn: Remove reference to gdata 2015-01-20 10:15:33 -05:00
work-microwave/work_92105 lpc32xx: add support for board work_92105 2015-04-10 14:23:39 +02:00
xes powerpc: xes: Add maintainer 2015-01-12 09:38:47 -05:00
xilinx zynqmp: usb: Add usb dwc3 driver support for zynqmp 2015-08-19 11:27:30 +02:00