]> git.sur5r.net Git - u-boot/commit
arm: initialize gd for AArch64
authorStephen Warren <swarren@nvidia.com>
Thu, 14 Jan 2016 21:03:11 +0000 (14:03 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jan 2016 21:27:13 +0000 (16:27 -0500)
commita737028e80603f49a4757adec10b5842d0689dbb
treee5b25ac2f0e6db0032eb67e2f1c351a7778faee8
parentf46c25583a73042edf432b209ee4b93bc3f7e762
arm: initialize gd for AArch64

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@nvidia.com>
arch/arm/lib/crt0_64.S