[U-Boot] [PATCH] arm: initialize gd for AArch64

Tom Rini trini at konsulko.com
Thu Jan 14 22:27:18 CET 2016


On Thu, Jan 14, 2016 at 02:03:11PM -0700, Stephen Warren wrote:

> From: Stephen Warren <swarren at nvidia.com>
> 
> Commit adc421e4cee8 "arm: move gd handling outside of C code" removed
> the call to arch_setup_gd() on ARM and replaced it with assembly code
> in crt0.S. However, AArch64 uses a different startup file, and the same
> change was not made to it. This leaves gd uninitialized on AArch64, which
> typically leads to hangs or crashes. This change fixes that.
> 
> Fixes: adc421e4cee8 ("arm: move gd handling outside of C code")
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160114/efc12e69/attachment.sig>


More information about the U-Boot mailing list