mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-08 04:03:35 +08:00
arm: armv7m: clean up armv7m unified code compilation
unified syntax should be selected by config ARM_ASM_UNIFIED Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
This commit is contained in:
parent
680223a2da
commit
d22336aad9
@ -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)
|
||||
|
@ -8,9 +8,7 @@
|
||||
#include <config.h>
|
||||
#include <asm-offsets.h>
|
||||
#include <linux/linkage.h>
|
||||
#ifdef CONFIG_CPU_V7M
|
||||
#include <asm/armv7m.h>
|
||||
#endif
|
||||
#include <asm/assembler.h>
|
||||
|
||||
/*
|
||||
* This file handles the target-independent stages of the U-Boot
|
||||
|
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <asm-offsets.h>
|
||||
#include <asm/assembler.h>
|
||||
#include <config.h>
|
||||
#include <elf.h>
|
||||
#include <linux/linkage.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <asm/armv7m.h>
|
||||
#include <asm/assembler.h>
|
||||
#include <linux/linkage.h>
|
||||
|
||||
.type __hard_fault_entry, %function
|
||||
|
Loading…
Reference in New Issue
Block a user