arm: Switch aarch64 to using generic global_data setup
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 12:49:59 +0000 (06:49 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 24 Oct 2015 17:50:36 +0000 (13:50 -0400)
commit931bec31b44fbcb01448651424aaf9b6212c141f
tree468b58447c01d277abb86ae55fa6f45d39efaf8b
parent518f0bccc49e783ae6aa68af9cb3b3dcd912f2cf
arm: Switch aarch64 to using generic global_data setup

There is quite a bit of assembler code that can be removed if we use the
generic global_data setup. Less arch-specific code makes it easier to add
new features and maintain the start-up code.

Drop the unneeded code and adjust the hooks in board_f.c to cope.

Tested on LS2085ARDB and LS2085AQDS (armv8 SoC).
Tested-by: York Sun <yorksun@freescale.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/crt0_64.S