u-boot-2016/drivers
Nikita Kiryanov 36afd45136 spl: change return values of spl_*_load_image()
Make spl_*_load_image() functions return a value instead of
hanging if a problem is encountered. This enables main spl code
to make the decision whether to hang or not, thus preparing
it to support alternative boot devices.

Some boot devices (namely nand and spi) do not hang on error.
Instead, they return normally and SPL proceeds to boot the
contents of the load address. This is considered a bug and
is rectified by hanging on error for these devices as well.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Ian Campbell <ijc@hellion.org.uk>
Cc: Hans De Goede <hdegoede@redhat.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Jagan Teki <jteki@openedev.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2015-11-18 14:50:02 -05:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
block block: ahci: Remove dead code 2015-11-12 18:13:19 -05:00
bootcount
clk
core Merge branch 'master' of git://git.denx.de/u-boot-net 2015-10-29 16:30:33 -04:00
cpu
crypto
ddr arm: mvebu: Fix SAR1_CPU_CORE_MASK 2015-11-17 23:41:41 +01:00
demo
dfu dfu: dfu_sf: Pass duplicate devstr to parse_dev 2015-11-03 17:29:33 +01:00
dma
fpga
gpio altera_pio: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
hwmon
i2c i2c: soft_i2c: Fix bus indizes 2015-11-12 18:04:12 -05:00
input video: Drop DEV_FLAGS_SYSTEM flag 2015-11-05 08:22:21 +01:00
led
memory Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
misc altera_sysid: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
mmc driver: dwmmc: Fix pointer conversion warnings for hikey 2015-11-12 15:59:00 -05:00
mtd spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
net altera_tse: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
pci Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-11-12 19:32:51 -05:00
pcmcia
pinctrl Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
power dm: regulator: add function device_get_supply_regulator() 2015-11-02 10:38:00 +09:00
pwm
qe
ram
remoteproc
rtc rtc: Add MCP79411 support to DS1307 rtc driver 2015-11-04 15:19:12 -08:00
serial altera_uart: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
soc Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
sound
spi altera_spi: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
thermal
timer altera_timer: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
tpm
twserial
usb driver: usb: Fix pointer conversion warnings for hikey 2015-11-12 15:59:00 -05:00
video video: mxsfb: introduce lcdif_power_down 2015-11-12 17:40:53 +01:00
watchdog
Kconfig dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00