u-boot-2016/arch/arm/include/asm
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
..
arch-am33xx
arch-armada100
arch-armv7
arch-bcm281xx
arch-bcmcygnus
arch-bcmnsp
arch-ep93xx
arch-fsl-layerscape
arch-hi6220
arch-imx
arch-lpc32xx
arch-ls102xa
arch-mvebu
arch-mx5
arch-mx6
arch-mx7
arch-mx25
arch-mx27
arch-mx31
arch-mx35
arch-mxs
arch-omap3
arch-omap4
arch-omap5
arch-orion5x
arch-pxa
arch-rmobile
arch-rockchip
arch-s3c24x0
arch-s5pc1xx
arch-sa1100
arch-spear
arch-stm32f1
arch-stm32f4
arch-stv0991
arch-sunxi
arch-tegra
arch-tegra20
arch-tegra30
arch-tegra114
arch-tegra124
arch-tegra210
arch-vf610
arch-zynqmp
armv8
imx-common
iproc-common
kona-common
proc-armv
ti-common
armv7.h
armv7m.h
assembler.h
atomic.h
bitops.h
bootm.h
byteorder.h
cache.h
config.h
davinci_rtc.h
dma-mapping.h
ehci-omap.h
emif.h
errno.h
fsl_secure_boot.h
gic.h
global_data.h
gpio.h
hardware.h
io.h
linkage.h
mach-types.h
macro.h
memory.h
omap_common.h
omap_gpio.h
omap_mmc.h
omap_musb.h
pl310.h
posix_types.h
processor.h
psci.h
ptrace.h
sections.h
secure.h
setup.h
spl.h spl: change return values of spl_*_load_image() 2015-11-18 14:50:02 -05:00
string.h
system.h
types.h
u-boot-arm.h
u-boot.h
unaligned.h
utils.h