From: Zachary T Welch Date: Thu, 3 Dec 2009 12:14:42 +0000 (-0800) Subject: change #include "armv4_5.h" to X-Git-Tag: v0.4.0-rc1~178 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ddea03304310e1342ee127fc7e6507bbfb237ae4;p=openocd change #include "armv4_5.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "armv4_5.h" the following form should be used. #include The exception is from .c files in the same directory. --- diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c index 4647c794..fdf2109b 100644 --- a/src/flash/arm_nandio.c +++ b/src/flash/arm_nandio.c @@ -25,7 +25,7 @@ #endif #include "arm_nandio.h" -#include "armv4_5.h" +#include #include /** diff --git a/src/flash/nand/orion.c b/src/flash/nand/orion.c index 77a03f27..0f08fe42 100644 --- a/src/flash/nand/orion.c +++ b/src/flash/nand/orion.c @@ -27,7 +27,7 @@ #endif #include "arm_nandio.h" -#include "armv4_5.h" +#include struct orion_nand_controller diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c index 402da1f4..a8d76ceb 100644 --- a/src/flash/nor/aduc702x.c +++ b/src/flash/nor/aduc702x.c @@ -24,7 +24,7 @@ #endif #include "flash.h" -#include "armv4_5.h" +#include #include #include #include diff --git a/src/flash/nor/cfi.c b/src/flash/nor/cfi.c index 043d7420..61b5d4cf 100644 --- a/src/flash/nor/cfi.c +++ b/src/flash/nor/cfi.c @@ -25,7 +25,7 @@ #include "cfi.h" #include "non_cfi.h" -#include "armv4_5.h" +#include #include #include diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index 9cbb9e4b..cf746794 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -26,7 +26,7 @@ #include "image.h" #include "flash.h" #include -#include "armv4_5.h" +#include #include diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c index 4da3f07e..c5a1c345 100644 --- a/src/flash/nor/str7x.c +++ b/src/flash/nor/str7x.c @@ -25,7 +25,7 @@ #endif #include "str7x.h" -#include "armv4_5.h" +#include #include #include diff --git a/src/target/arm11.h b/src/target/arm11.h index fd147207..b118e1c6 100644 --- a/src/target/arm11.h +++ b/src/target/arm11.h @@ -23,7 +23,7 @@ #ifndef ARM11_H #define ARM11_H -#include "armv4_5.h" +#include #include #define ARM11_TAP_DEFAULT TAP_INVALID diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h index 9cf8b417..7555bec2 100644 --- a/src/target/arm7_9_common.h +++ b/src/target/arm7_9_common.h @@ -29,7 +29,7 @@ #ifndef ARM7_9_COMMON_H #define ARM7_9_COMMON_H -#include "armv4_5.h" +#include #include #define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */ diff --git a/src/target/armv7a.h b/src/target/armv7a.h index 9158d787..da8ccdf4 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -20,7 +20,7 @@ #define ARMV7A_H #include -#include "armv4_5.h" +#include #include "armv4_5_mmu.h" #include "armv4_5_cache.h" #include diff --git a/src/target/armv7m.h b/src/target/armv7m.h index 46871e1e..353860a9 100644 --- a/src/target/armv7m.h +++ b/src/target/armv7m.h @@ -27,7 +27,7 @@ #define ARMV7M_COMMON_H #include -#include "armv4_5.h" +#include /* define for enabling armv7 gdb workarounds */ #if 1 diff --git a/src/target/xscale.h b/src/target/xscale.h index 0a70ecb3..9e19f45a 100644 --- a/src/target/xscale.h +++ b/src/target/xscale.h @@ -23,7 +23,7 @@ #ifndef XSCALE_H #define XSCALE_H -#include "armv4_5.h" +#include #include "armv4_5_mmu.h" #include "trace.h"