u-boot/arch/arm/lib
Ryan Harkin 072c8c4ced do_smhload: fix return code
do_smhload was using a ulong to store the return value from
smh_load_file. That returns an int, where -1 indicates an error. As a
ulong will never be negative, smh_load_file errors were not detected and
so_smhload always returned zero.

Also, when errors were spotted, do_smhload was returning 1, rather than
the enumeration CMD_RET_FAILURE (which is also 1).

Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2017-03-09 19:52:14 -05:00
..
ashldi3.S
ashrdi3.S
asm-offsets.c
bootm-fdt.c ARMv8/sec_firmware: relocated and renamed the config FSL_PPA_ARMV8_PSCI 2017-01-18 09:39:51 -08:00
bootm.c armv8: aarch64: Fix the warning about x1-x3 nonzero issue 2017-01-18 09:29:33 -08:00
cache-cp15.c arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode 2016-11-13 15:54:36 -05:00
cache-pl310.c
cache.c ARM: Move SYS_CACHELINE_SIZE over to Kconfig 2016-08-26 17:04:46 -04:00
ccn504.S
cmd_boot.c
crt0.S
crt0_64.S armv8: spl: Call spl_relocate_stack_gd for ARMv8 2017-03-01 21:28:34 -05:00
crt0_aarch64_efi.S efi: arm: Add aarch64 EFI app support 2016-11-14 23:24:04 +01:00
crt0_arm_efi.S efi: arm: Add EFI app support 2016-11-14 23:24:04 +01:00
debug.S
div0.c
div64.S
eabi_compat.c
elf_aarch64_efi.lds efi: arm: Add aarch64 EFI app support 2016-11-14 23:24:04 +01:00
elf_arm_efi.lds efi: arm: Add EFI app support 2016-11-14 23:24:04 +01:00
gic_64.S
interrupts.c
interrupts_64.c
interrupts_m.c
lib1funcs.S
lshrdi3.S
Makefile ARM: Default to using optimized memset and memcpy routines 2017-01-20 15:38:01 -05:00
memcpy.S
memset.S
muldi3.S
psci-dt.c ARMv8/sec_firmware: relocated and renamed the config FSL_PPA_ARMV8_PSCI 2017-01-18 09:39:51 -08:00
reloc_aarch64_efi.c efi: arm: Add aarch64 EFI app support 2016-11-14 23:24:04 +01:00
reloc_arm_efi.c efi: arm: Add EFI app support 2016-11-14 23:24:04 +01:00
relocate.S elf: arm: Add a few ARM relocation types 2016-11-14 23:24:03 +01:00
relocate_64.S arm64: fix comment in relocate_64.S 2017-02-08 16:24:27 -05:00
reset.c
sections.c
semihosting.c do_smhload: fix return code 2017-03-09 19:52:14 -05:00
spl.c spl: Add a parameter to jump_to_image_linux() 2016-10-06 14:48:19 -04:00
stack.c
uldivmod.S
vectors.S ARM: boot0 hook: remove macro, include whole header file 2017-01-04 16:37:41 +01:00
vectors_m.S
zimage.c spl: zImage support in Falcon mode 2016-07-22 09:53:00 -04:00