summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:47 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:24:41 -0800
commit7da02a8330d48f05f1ea9af93adb572f083aa728 (patch)
tree35930fa55472c98f3f028ac3848ce90b97b75a60 /src/flash
parent0241b1e1054e7d3d187c0a41c7ffefab321b6b67 (diff)
downloadopenocd_libswd-7da02a8330d48f05f1ea9af93adb572f083aa728.tar.gz
openocd_libswd-7da02a8330d48f05f1ea9af93adb572f083aa728.tar.bz2
openocd_libswd-7da02a8330d48f05f1ea9af93adb572f083aa728.tar.xz
openocd_libswd-7da02a8330d48f05f1ea9af93adb572f083aa728.zip
change #include "image.h" to <target/image.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "image.h" the following form should be used. #include <target/image.h> The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/flash.c2
-rw-r--r--src/flash/nor/ecos.c2
-rw-r--r--src/flash/nor/faux.c2
-rw-r--r--src/flash/nor/lpc2900.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index e910e42f..d16949da 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -29,7 +29,7 @@
#include "flash.h"
#include "common.h"
-#include "image.h"
+#include <target/image.h>
#include <helper/time_support.h>
static int flash_write_unlock(struct target *target, struct image *image, uint32_t *written, int erase, bool unlock);
diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c
index ca8f3f51..81223b68 100644
--- a/src/flash/nor/ecos.c
+++ b/src/flash/nor/ecos.c
@@ -23,7 +23,7 @@
#include "flash.h"
#include <target/embeddedice.h>
-#include "image.h"
+#include <target/image.h>
#include <target/algorithm.h>
diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c
index caec2c79..124ca3e1 100644
--- a/src/flash/nor/faux.c
+++ b/src/flash/nor/faux.c
@@ -22,7 +22,7 @@
#endif
#include "flash.h"
-#include "image.h"
+#include <target/image.h>
#include "../hello.h"
diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c
index cf746794..c1fefd70 100644
--- a/src/flash/nor/lpc2900.c
+++ b/src/flash/nor/lpc2900.c
@@ -23,7 +23,7 @@
#endif
-#include "image.h"
+#include <target/image.h>
#include "flash.h"
#include <helper/binarybuffer.h>
#include <target/armv4_5.h>