u-boot/arch/arm/mach-keystone
Srinivas, Madan 94f536fc4f arm: mach-keystone: Fixes issue with return values in inline assembly
The inline assembly functions in mon.c assume that the caller will
check for the return value in r0 according to regular ARM calling
conventions.

However, this assumption breaks down if the compiler inlines the
functions. The caller is then under no obligation to use r0 for the
result.

To fix this disconnect, we must explicitly move the return value
from the smc/bl call to the variable that the function returns.

Signed-off-by: Madan Srinivas <madans@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-07-26 11:26:52 -04:00
..
include/mach arm: mach-keystone: Updates mon_install for K2G HS 2017-07-26 11:26:51 -04:00
clock.c ARM: keystone2: Add support for getting external clock dynamically 2017-05-08 12:34:29 -04:00
cmd_clock.c ARM: keystone: rename clk_get_rate() to ks_clk_get_rate() 2016-10-08 09:33:13 -04:00
cmd_ddr3.c Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
cmd_mon.c arm: mach-keystone: Updates mon_install for K2G HS 2017-07-26 11:26:51 -04:00
cmd_poweroff.c ARM: keystone2: Switch to using the poweroff command 2016-03-16 15:03:32 -04:00
config.mk ARM: keystone2: Allow to build with all image formats 2017-07-10 14:25:55 -04:00
ddr3.c ARM: k2g: Program DDRPHY_DATX8 registers via mask and value variables 2017-07-10 14:25:57 -04:00
ddr3_spd.c ARM: keystone2: use detected ddr3a size 2016-03-14 19:18:45 -04:00
init.c keystone: k2h/e/l: Fix DMA coherency for QM PDSP 2016-07-25 12:00:05 -04:00
Kconfig Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
keystone.c ARM: keystone2: Switch to using the poweroff command 2016-03-16 15:03:32 -04:00
Makefile keystone2: Move target selection to Kconfig 2016-11-28 15:10:34 -05:00
mon.c arm: mach-keystone: Fixes issue with return values in inline assembly 2017-07-26 11:26:52 -04:00
msmc.c ARM: keystone: move SoC sources to mach-keystone 2015-02-21 08:23:52 -05:00
psc.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00