armv8: move reset branch into boot hook
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jan 2017 11:48:33 +0000 (11:48 +0000)
committerJagan Teki <jagan@openedev.com>
Wed, 4 Jan 2017 15:37:41 +0000 (16:37 +0100)
commita5168a5900113b8f638a4f3b09317c4cfa991414
treecf4aa6c62bfb0e45983599a0b06adae05f095639
parent8ed02bc2d969bcab140f33f235b512194ab17d47
armv8: move reset branch into boot hook

The boot0 hook we have so far is applied _after_ the initial branch
to the "reset" entry point. An upcoming change requires even this
branch to be changed, so we apply the hook macro at the earliest
point, and have the branch in the hook file as well.
This is no functional change at this point, just refactoring to simplify
upcoming patches.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/cpu/armv8/start.S
arch/arm/include/asm/arch-sunxi/boot0.h