spl: Fix guardian macros in spl.h
PATCH 1/1 spl: Fix guardian macros in spl.h
Fix the macros guarding the spl.h header for various platforms. Due to a typo and a propagation of it, the macros went out-of-sync with their ifdef check, so fix this.
Signed-off-by Marek Vasut <[email protected]>
Cc Tom Rini <[email protected]>
--- arch/arm/include/asm/arch-am33xx/spl.h | 2 +- arch/arm/include/asm/arch-davinci/spl.h | 2 +- arch/arm/include/asm/arch-mx35/spl.h | 2 +- arch/arm/include/asm/arch-omap3/spl.h | 2 +- arch/arm/include/asm/arch-omap4/spl.h | 2 +- arch/arm/include/asm/arch-omap5/spl.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
I build-tested this with:
MAKEALL -s mx35
MAKEALL -v ti
All pass.
arch/arm/include/asm/arch-am33xx/spl.h +1 -1
@@ -5,7 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ -#define _ASM_SPL_H_ +#define _ASM_ARCH_SPL_H_#if defined(CONFIG_TI816X )#define BOOT_DEVICE_XIP 2
arch/arm/include/asm/arch-davinci/spl.h +1 -1
@@ -5,7 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ -#define _ASM_SPL_H_ +#define _ASM_ARCH_SPL_H_#define BOOT_DEVICE_NAND 1#define BOOT_DEVICE_SPI 2
arch/arm/include/asm/arch-mx35/spl.h +1 -1
@@ -5,7 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ -#define _ASM_SPL_H_ +#define _ASM_ARCH_SPL_H_#define BOOT_DEVICE_NONE 0#define BOOT_DEVICE_XIP 1
arch/arm/include/asm/arch-omap3/spl.h +1 -1
@@ -5,7 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ -#define _ASM_SPL_H_ +#define _ASM_ARCH_SPL_H_#define BOOT_DEVICE_NONE 0#define BOOT_DEVICE_XIP 1
arch/arm/include/asm/arch-omap4/spl.h +1 -1
@@ -5,7 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ -#define _ASM_SPL_H_ +#define _ASM_ARCH_SPL_H_#define BOOT_DEVICE_NONE 0#define BOOT_DEVICE_XIP 1
arch/arm/include/asm/arch-omap5/spl.h +1 -1
@@ -5,7 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ -#define _ASM_SPL_H_ +#define _ASM_ARCH_SPL_H_#define BOOT_DEVICE_NONE 0#define BOOT_DEVICE_XIP 1
Signature · 1 line
1.8.5.2
Quoted 6 lines · Marek Vasut
Fix the macros guarding the
spl.hheader for various platforms. Due to a typo and a propagation of it, the macros went out-of-sync with their ifdef check, so fix this.Signed-off-by Marek Vasut <[email protected]>Cc Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140328/77ca7079/attachment.pgp>