ARM: boot0 hook: remove macro, include whole header file
authorAndre Przywara <[email protected]>
Mon, 2 Jan 2017 11:48:34 +0000 (11:48 +0000)
committerJagan Teki <[email protected]>
Wed, 4 Jan 2017 15:37:41 +0000 (16:37 +0100)
commitce62e57fc57177352a02b76dace0173bd13404b6
tree7868be74bcdd3b60db92bafa018768cc418bd83b
parenta5168a5900113b8f638a4f3b09317c4cfa991414
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Steve Rae <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
arch/arm/cpu/armv8/start.S
arch/arm/include/asm/arch-bcm235xx/boot0.h
arch/arm/include/asm/arch-bcm281xx/boot0.h
arch/arm/include/asm/arch-sunxi/boot0.h
arch/arm/lib/vectors.S