diff options
author | Srinivas, Madan <madans@ti.com> | 2017-07-17 13:02:02 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-26 11:26:52 -0400 |
commit | 94f536fc4fd70fc9f3c7442d09698a9b1c82f41b (patch) | |
tree | 08bdb3a12e2d168223484f80a29e6b4e8b3cf5fb /arch/arm/dts/stm32f746.dtsi | |
parent | 1a7c159a8dfa460395ee33e9ed7621a4808ac27a (diff) | |
download | u-boot-94f536fc4fd70fc9f3c7442d09698a9b1c82f41b.tar.gz u-boot-94f536fc4fd70fc9f3c7442d09698a9b1c82f41b.tar.xz u-boot-94f536fc4fd70fc9f3c7442d09698a9b1c82f41b.zip |
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>
Diffstat (limited to 'arch/arm/dts/stm32f746.dtsi')
0 files changed, 0 insertions, 0 deletions