summaryrefslogtreecommitdiff
path: root/src/flash/nand.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-04 13:42:09 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-04 16:56:23 -0800
commit1527272fb21beee7839335ea5587e879163d2ed1 (patch)
treecb0a4818ddaced7e5202a0631e50628676774268 /src/flash/nand.h
parent5fdee60fd4d38e59c7b5f7aca5ad50b90e7d61ee (diff)
downloadopenocd+libswd-1527272fb21beee7839335ea5587e879163d2ed1.tar.gz
openocd+libswd-1527272fb21beee7839335ea5587e879163d2ed1.tar.bz2
openocd+libswd-1527272fb21beee7839335ea5587e879163d2ed1.tar.xz
openocd+libswd-1527272fb21beee7839335ea5587e879163d2ed1.zip
split NOR and NAND flash headers
Moves common flash errors to <flash/common.h> to decouple these two mostly unrelated trees of code.
Diffstat (limited to 'src/flash/nand.h')
-rw-r--r--src/flash/nand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flash/nand.h b/src/flash/nand.h
index 230cf508..f91dedaf 100644
--- a/src/flash/nand.h
+++ b/src/flash/nand.h
@@ -25,7 +25,9 @@
#ifndef NAND_H
#define NAND_H
-#include <flash/flash.h>
+#include <flash/common.h>
+// to be removed later
+#include <target/target.h>
struct nand_device;