From: Vikas Manocha Date: Fri, 31 Aug 2018 23:57:06 +0000 (-0700) Subject: arm: armv7m: clean up armv7m unified code compilation X-Git-Tag: v2018.11-rc1~189 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d22336aad945f8f67e2c985cea9220c3a559b909;p=oweals%2Fu-boot.git arm: armv7m: clean up armv7m unified code compilation unified syntax should be selected by config ARM_ASM_UNIFIED Signed-off-by: Vikas Manocha --- diff --git a/arch/arm/include/asm/armv7m.h b/arch/arm/include/asm/armv7m.h index 278f302cdb..ad67b4fa34 100644 --- a/arch/arm/include/asm/armv7m.h +++ b/arch/arm/include/asm/armv7m.h @@ -10,11 +10,6 @@ #ifndef ARMV7M_H #define ARMV7M_H -#if defined(__ASSEMBLY__) -.syntax unified -.thumb -#endif - /* armv7m fixed base addresses */ #define V7M_SCS_BASE 0xE000E000 #define V7M_NVIC_BASE (V7M_SCS_BASE + 0x0100) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index d7ff9f0e5f..fe312db690 100644 --- a/arch/arm/lib/crt0.S +++ b/arch/arm/lib/crt0.S @@ -8,9 +8,7 @@ #include #include #include -#ifdef CONFIG_CPU_V7M -#include -#endif +#include /* * This file handles the target-independent stages of the U-Boot diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S index c5b135db40..e5f7267be1 100644 --- a/arch/arm/lib/relocate.S +++ b/arch/arm/lib/relocate.S @@ -6,6 +6,7 @@ */ #include +#include #include #include #include diff --git a/arch/arm/lib/vectors_m.S b/arch/arm/lib/vectors_m.S index d75e47734b..7d2d55c7f9 100644 --- a/arch/arm/lib/vectors_m.S +++ b/arch/arm/lib/vectors_m.S @@ -5,7 +5,7 @@ */ #include -#include +#include #include .type __hard_fault_entry, %function