[U-Boot] [U-Boot,v2] arm: fix hvc call

Tom Rini trini at konsulko.com
Wed Apr 24 13:22:30 UTC 2019


On Mon, Feb 25, 2019 at 10:11:45AM +0000, Ibai Erkiaga wrote:

> HVC call makes use of 6 mandatory arguments rather than 7 in the same way
> as SMC calls. The 7th argument is optional (Client ID) for both HVC and
> SMC but is implemented as 16-bit parameter and register R7 or W7. The aim
> of this patch is just fix compilation error due to an invalid asm code in
> the HVC call so that's why the 7th argument is removed.
> 
> The issue does not report any error in a normal build as hvc_call is not
> used at all and is optimized by the compiler. Using -O0 triggers the
> error so the patch is intended to fix issues on a ongoing effor to build
> U-Boot with -O0.
> 
> Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza at xilinx.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190424/38b32289/attachment.sig>


More information about the U-Boot mailing list