Skip to contentSkip to conversation

spl: Fix guardian macros in spl.h

PATCH In review Marek Vasut 2 participants 2 messages Mar 19, 2014 – Mar 28, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 2df4114..8543f43 100644
@@ -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
index 5aa5d2d..5afe0d4 100644
@@ -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
index f87c137..d0efec2 100644
@@ -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
index 2ec319c..8350532 100644
@@ -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
index 551b27d..fb842a2 100644
@@ -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
index 4a279cf..f707998 100644
@@ -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
#1 lore raw
Quoted 6 lines · Marek Vasut

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.

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>