]> git.sur5r.net Git - u-boot/commit
armv8: fix gd after relocation
authorYork Sun <york.sun@nxp.com>
Thu, 7 Dec 2017 21:16:07 +0000 (13:16 -0800)
committerTom Rini <trini@konsulko.com>
Thu, 7 Dec 2017 22:00:06 +0000 (17:00 -0500)
commite421b646fce125ed92936628dc4b287de5f038a5
tree2ea2b1c79e6dfafe9d0ccf083a1786efd93f62d4
parent1d0f30a8e080fd490ec4df50d5ccfc742e771ca0
armv8: fix gd after relocation

Commit 21f4486faa5d ("armv8: update gd after relocate") sets x18
without checking the return value of spl_relocate_stack_gd().

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: York Sun <york.sun@nxp.com>
CC: Kever Yang <kever.yang@rock-chips.com>
CC: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/lib/crt0_64.S