mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![]() 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> |
||
---|---|---|
.. | ||
include/mach | ||
clock.c | ||
cmd_clock.c | ||
cmd_ddr3.c | ||
cmd_mon.c | ||
cmd_poweroff.c | ||
config.mk | ||
ddr3_spd.c | ||
ddr3.c | ||
init.c | ||
Kconfig | ||
keystone.c | ||
Makefile | ||
mon.c | ||
msmc.c | ||
psc.c |