summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:26 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:22:51 -0800
commit14ed20967f660ca888bba53c47c1c648f470f8e2 (patch)
treef597cc6992aaa44e7a2c75b32d0d2e69ce57650b /src/flash
parent0b7720d2ffc92a1a27bc01cb05ebd7d8d83c427c (diff)
downloadopenocd_libswd-14ed20967f660ca888bba53c47c1c648f470f8e2.tar.gz
openocd_libswd-14ed20967f660ca888bba53c47c1c648f470f8e2.tar.bz2
openocd_libswd-14ed20967f660ca888bba53c47c1c648f470f8e2.tar.xz
openocd_libswd-14ed20967f660ca888bba53c47c1c648f470f8e2.zip
change #include "fileio.h" to <helper/fileio.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "fileio.h" the following form should be used. #include <helper/fileio.h> The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/mflash.c2
-rw-r--r--src/flash/nand.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/mflash.c b/src/flash/mflash.c
index 8f42aa6e..72faae22 100644
--- a/src/flash/mflash.c
+++ b/src/flash/mflash.c
@@ -24,7 +24,7 @@
#include "mflash.h"
#include "target.h"
#include "time_support.h"
-#include "fileio.h"
+#include <helper/fileio.h>
#include "log.h"
diff --git a/src/flash/nand.c b/src/flash/nand.c
index 1c8c0c87..087a9ae4 100644
--- a/src/flash/nand.c
+++ b/src/flash/nand.c
@@ -27,7 +27,7 @@
#include "nand.h"
#include "common.h"
#include "time_support.h"
-#include "fileio.h"
+#include <helper/fileio.h>
static int nand_read_page(struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size);
//static int nand_read_plain(struct nand_device *nand, uint32_t address, uint8_t *data, uint32_t data_size);