Commit 463bb19eebab4a5517c60dc9e74de0cc12c19e56

Authored by Marek Vasut
Committed by Tom Rini
1 parent 254d68b601

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 <marex@denx.de>
Cc: Tom Rini <trini@ti.com>

Showing 6 changed files with 6 additions and 6 deletions Side-by-side Diff

arch/arm/include/asm/arch-am33xx/spl.h
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7 #ifndef _ASM_ARCH_SPL_H_
8   -#define _ASM_SPL_H_
  8 +#define _ASM_ARCH_SPL_H_
9 9  
10 10 #if defined(CONFIG_TI816X)
11 11 #define BOOT_DEVICE_XIP 2
arch/arm/include/asm/arch-davinci/spl.h
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7 #ifndef _ASM_ARCH_SPL_H_
8   -#define _ASM_SPL_H_
  8 +#define _ASM_ARCH_SPL_H_
9 9  
10 10 #define BOOT_DEVICE_NAND 1
11 11 #define BOOT_DEVICE_SPI 2
arch/arm/include/asm/arch-mx35/spl.h
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7 #ifndef _ASM_ARCH_SPL_H_
8   -#define _ASM_SPL_H_
  8 +#define _ASM_ARCH_SPL_H_
9 9  
10 10 #define BOOT_DEVICE_NONE 0
11 11 #define BOOT_DEVICE_XIP 1
arch/arm/include/asm/arch-omap3/spl.h
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7 #ifndef _ASM_ARCH_SPL_H_
8   -#define _ASM_SPL_H_
  8 +#define _ASM_ARCH_SPL_H_
9 9  
10 10 #define BOOT_DEVICE_NONE 0
11 11 #define BOOT_DEVICE_XIP 1
arch/arm/include/asm/arch-omap4/spl.h
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7 #ifndef _ASM_ARCH_SPL_H_
8   -#define _ASM_SPL_H_
  8 +#define _ASM_ARCH_SPL_H_
9 9  
10 10 #define BOOT_DEVICE_NONE 0
11 11 #define BOOT_DEVICE_XIP 1
arch/arm/include/asm/arch-omap5/spl.h
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7 #ifndef _ASM_ARCH_SPL_H_
8   -#define _ASM_SPL_H_
  8 +#define _ASM_ARCH_SPL_H_
9 9  
10 10 #define BOOT_DEVICE_NONE 0
11 11 #define BOOT_DEVICE_XIP 1