diff options
author | Andre Przywara <andre.przywara@arm.com> | 2017-01-02 11:48:34 +0000 |
---|---|---|
committer | Jagan Teki <jagan@openedev.com> | 2017-01-04 16:37:41 +0100 |
commit | ce62e57fc57177352a02b76dace0173bd13404b6 (patch) | |
tree | 7868be74bcdd3b60db92bafa018768cc418bd83b /arch/arm/cpu | |
parent | a5168a5900113b8f638a4f3b09317c4cfa991414 (diff) | |
download | u-boot-ce62e57fc57177352a02b76dace0173bd13404b6.tar.gz |
ARM: boot0 hook: remove macro, include whole header file
For prepending some board specific header area to U-Boot images we
were so far including a header file with a macro definition containing
the actual header specification.
This works fine if there are just a few statements and if there is only
one alternative.
However adding more complex code quickly gets messy with this approach,
so let's just drop that intermediate macro and let the #include actually
insert the code directly.
This converts the callers and the callees, but doesn't change anything
at this point.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Steve Rae <steve.rae@raedomain.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv8/start.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S index ee393d737e..140609de08 100644 --- a/arch/arm/cpu/armv8/start.S +++ b/arch/arm/cpu/armv8/start.S @@ -26,7 +26,6 @@ _start: * use it here. */ #include <asm/arch/boot0.h> -ARM_SOC_BOOT0_HOOK #else b reset #endif |