From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 4 Dec 2016 23:25:48 -0700 Subject: [U-Boot] [PATCH v2 09/23] ARM: boot0 hook: remove macro, include whole header file In-Reply-To: <1480902750-839-10-git-send-email-andre.przywara@arm.com> References: <1480902750-839-1-git-send-email-andre.przywara@arm.com> <1480902750-839-10-git-send-email-andre.przywara@arm.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4 December 2016 at 18:52, Andre Przywara wrote: > 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 > --- > arch/arm/cpu/armv8/start.S | 1 - > arch/arm/include/asm/arch-bcm235xx/boot0.h | 8 +------- > arch/arm/include/asm/arch-bcm281xx/boot0.h | 8 +------- > arch/arm/include/asm/arch-sunxi/boot0.h | 8 +------- > arch/arm/lib/vectors.S | 1 - > 5 files changed, 3 insertions(+), 23 deletions(-) Reviewed-by: Simon Glass