summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:54 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:24:42 -0800
commit2b2d5ec1e38efdd10ec64f8e880588350fb4edea (patch)
tree6a4a6defdd4f5aad28e13b4ad421ee967eb1fe02 /src/flash/nor
parenteac262e5d2a56e470e3d13becd646a135aa187c5 (diff)
downloadopenocd+libswd-2b2d5ec1e38efdd10ec64f8e880588350fb4edea.tar.gz
openocd+libswd-2b2d5ec1e38efdd10ec64f8e880588350fb4edea.tar.bz2
openocd+libswd-2b2d5ec1e38efdd10ec64f8e880588350fb4edea.tar.xz
openocd+libswd-2b2d5ec1e38efdd10ec64f8e880588350fb4edea.zip
change #include "flash.h" to <flash/flash.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "flash.h" the following form should be used. #include <flash/flash.h> The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/aduc702x.c2
-rw-r--r--src/flash/nor/at91sam3.c2
-rw-r--r--src/flash/nor/at91sam7.h2
-rw-r--r--src/flash/nor/avrf.c2
-rw-r--r--src/flash/nor/cfi.h2
-rw-r--r--src/flash/nor/ecos.c2
-rw-r--r--src/flash/nor/faux.c2
-rw-r--r--src/flash/nor/lpc2000.h2
-rw-r--r--src/flash/nor/lpc288x.h2
-rw-r--r--src/flash/nor/lpc2900.c2
-rw-r--r--src/flash/nor/non_cfi.h2
-rw-r--r--src/flash/nor/ocl.c2
-rw-r--r--src/flash/nor/pic32mx.h2
-rw-r--r--src/flash/nor/stellaris.h2
-rw-r--r--src/flash/nor/stm32x.h2
-rw-r--r--src/flash/nor/str7x.h2
-rw-r--r--src/flash/nor/str9x.h2
-rw-r--r--src/flash/nor/str9xpec.h2
-rw-r--r--src/flash/nor/tms470.h2
19 files changed, 19 insertions, 19 deletions
diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c
index a8d76ceb..66969127 100644
--- a/src/flash/nor/aduc702x.c
+++ b/src/flash/nor/aduc702x.c
@@ -23,7 +23,7 @@
#include "config.h"
#endif
-#include "flash.h"
+#include <flash/flash.h>
#include <target/armv4_5.h>
#include <helper/binarybuffer.h>
#include <helper/time_support.h>
diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c
index 5f7e8d72..dd4f3471 100644
--- a/src/flash/nor/at91sam3.c
+++ b/src/flash/nor/at91sam3.c
@@ -61,7 +61,7 @@
#include <string.h>
#include <stddef.h>
#include <helper/types.h>
-#include "flash.h"
+#include <flash/flash.h>
#include <helper/membuf.h>
#include "at91sam3.h"
#include <helper/time_support.h>
diff --git a/src/flash/nor/at91sam7.h b/src/flash/nor/at91sam7.h
index 45106869..80778794 100644
--- a/src/flash/nor/at91sam7.h
+++ b/src/flash/nor/at91sam7.h
@@ -23,7 +23,7 @@
#ifndef AT91SAM7_H
#define AT91SAM7_H
-#include "flash.h"
+#include <flash/flash.h>
struct at91sam7_flash_bank
{
diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c
index 2bc44384..fbc92772 100644
--- a/src/flash/nor/avrf.c
+++ b/src/flash/nor/avrf.c
@@ -23,7 +23,7 @@
#include "avrf.h"
#include <target/avrt.h>
-#include "flash.h"
+#include <flash/flash.h>
/* AVR_JTAG_Instructions */
diff --git a/src/flash/nor/cfi.h b/src/flash/nor/cfi.h
index d55fd34e..565a2b6c 100644
--- a/src/flash/nor/cfi.h
+++ b/src/flash/nor/cfi.h
@@ -20,7 +20,7 @@
#ifndef CFI_H
#define CFI_H
-#include "flash.h"
+#include <flash/flash.h>
#define CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7 0xE0 /* DQ5..DQ7 */
#define CFI_STATUS_POLL_MASK_DQ6_DQ7 0xC0 /* DQ6..DQ7 */
diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c
index 81223b68..8f8f746e 100644
--- a/src/flash/nor/ecos.c
+++ b/src/flash/nor/ecos.c
@@ -21,7 +21,7 @@
#include "config.h"
#endif
-#include "flash.h"
+#include <flash/flash.h>
#include <target/embeddedice.h>
#include <target/image.h>
#include <target/algorithm.h>
diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c
index 124ca3e1..49a0f722 100644
--- a/src/flash/nor/faux.c
+++ b/src/flash/nor/faux.c
@@ -21,7 +21,7 @@
#include "config.h"
#endif
-#include "flash.h"
+#include <flash/flash.h>
#include <target/image.h>
#include "../hello.h"
diff --git a/src/flash/nor/lpc2000.h b/src/flash/nor/lpc2000.h
index 08e278a3..30be3048 100644
--- a/src/flash/nor/lpc2000.h
+++ b/src/flash/nor/lpc2000.h
@@ -23,7 +23,7 @@
#ifndef LPC2000_H
#define LPC2000_H
-#include "flash.h"
+#include <flash/flash.h>
typedef enum
{
diff --git a/src/flash/nor/lpc288x.h b/src/flash/nor/lpc288x.h
index 5a71ee08..06f634ab 100644
--- a/src/flash/nor/lpc288x.h
+++ b/src/flash/nor/lpc288x.h
@@ -21,7 +21,7 @@
#ifndef lpc288x_H
#define lpc288x_H
-#include "flash.h"
+#include <flash/flash.h>
struct lpc288x_flash_bank
{
diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c
index c1fefd70..dc466f8e 100644
--- a/src/flash/nor/lpc2900.c
+++ b/src/flash/nor/lpc2900.c
@@ -24,7 +24,7 @@
#include <target/image.h>
-#include "flash.h"
+#include <flash/flash.h>
#include <helper/binarybuffer.h>
#include <target/armv4_5.h>
#include <target/algorithm.h>
diff --git a/src/flash/nor/non_cfi.h b/src/flash/nor/non_cfi.h
index 44c92db4..cc6004e8 100644
--- a/src/flash/nor/non_cfi.h
+++ b/src/flash/nor/non_cfi.h
@@ -20,7 +20,7 @@
#ifndef NON_CFI_H
#define NON_CFI_H
-#include "flash.h"
+#include <flash/flash.h>
struct non_cfi
{
diff --git a/src/flash/nor/ocl.c b/src/flash/nor/ocl.c
index 57d9efaa..6e3ad1c9 100644
--- a/src/flash/nor/ocl.c
+++ b/src/flash/nor/ocl.c
@@ -22,7 +22,7 @@
#endif
#include "ocl.h"
-#include "flash.h"
+#include <flash/flash.h>
#include <target/embeddedice.h>
diff --git a/src/flash/nor/pic32mx.h b/src/flash/nor/pic32mx.h
index 92f40c2e..b33e8317 100644
--- a/src/flash/nor/pic32mx.h
+++ b/src/flash/nor/pic32mx.h
@@ -26,7 +26,7 @@
#ifndef PIC32MX_H
#define PIC32MX_H
-#include "flash.h"
+#include <flash/flash.h>
struct pic32mx_flash_bank
{
diff --git a/src/flash/nor/stellaris.h b/src/flash/nor/stellaris.h
index 949a346d..85b709cc 100644
--- a/src/flash/nor/stellaris.h
+++ b/src/flash/nor/stellaris.h
@@ -20,7 +20,7 @@
#ifndef STELLARIS_FLASH_H
#define STELLARIS_FLASH_H
-#include "flash.h"
+#include <flash/flash.h>
struct stellaris_flash_bank
{
diff --git a/src/flash/nor/stm32x.h b/src/flash/nor/stm32x.h
index 6cd047e1..b6e00edc 100644
--- a/src/flash/nor/stm32x.h
+++ b/src/flash/nor/stm32x.h
@@ -23,7 +23,7 @@
#ifndef STM32X_H
#define STM32X_H
-#include "flash.h"
+#include <flash/flash.h>
struct stm32x_options
{
diff --git a/src/flash/nor/str7x.h b/src/flash/nor/str7x.h
index 81af0f1e..4daafb7d 100644
--- a/src/flash/nor/str7x.h
+++ b/src/flash/nor/str7x.h
@@ -23,7 +23,7 @@
#ifndef STR7X_H
#define STR7X_H
-#include "flash.h"
+#include <flash/flash.h>
struct str7x_flash_bank
{
diff --git a/src/flash/nor/str9x.h b/src/flash/nor/str9x.h
index c9d5152f..29adecfa 100644
--- a/src/flash/nor/str9x.h
+++ b/src/flash/nor/str9x.h
@@ -23,7 +23,7 @@
#ifndef STR9X_H
#define STR9X_H
-#include "flash.h"
+#include <flash/flash.h>
struct str9x_flash_bank
{
diff --git a/src/flash/nor/str9xpec.h b/src/flash/nor/str9xpec.h
index 1d5ce943..cb2ac780 100644
--- a/src/flash/nor/str9xpec.h
+++ b/src/flash/nor/str9xpec.h
@@ -23,7 +23,7 @@
#ifndef STR9XPEC_H
#define STR9XPEC_H
-#include "flash.h"
+#include <flash/flash.h>
#include <jtag/jtag.h>
struct str9xpec_flash_controller
diff --git a/src/flash/nor/tms470.h b/src/flash/nor/tms470.h
index f275e510..b2fea1b1 100644
--- a/src/flash/nor/tms470.h
+++ b/src/flash/nor/tms470.h
@@ -20,7 +20,7 @@
#ifndef TMS470_DOT_H
#define TMS470_DOT_H
-#include "flash.h"
+#include <flash/flash.h>
struct tms470_flash_bank
{