summaryrefslogtreecommitdiff
path: root/src/flash/nand/driver.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-04 22:04:37 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-04 22:26:25 -0800
commit899c9975e750ff0144d4a4f63e0f2a619c0b0e58 (patch)
treeeea5ec7dc7287ef258b7a79caaf56749c2df2aab /src/flash/nand/driver.c
parentda3bcb392e852214b0dda878f6161c8f1e8d15f3 (diff)
downloadopenocd+libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.tar.gz
openocd+libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.tar.bz2
openocd+libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.tar.xz
openocd+libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.zip
rename nand.h to flash//nand/core.h
Rename nand.h as flash/nand/core.h, chase consumers. The public APIs need to be sorted out with imp.h, but this allows other changes to begin improving the separation between policy and mechanism. Moves #include <target/target.h> and #include "driver.h" into the internal headers or source files, removing it from <flash/nand/core.h>.
Diffstat (limited to 'src/flash/nand/driver.c')
-rw-r--r--src/flash/nand/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand/driver.c b/src/flash/nand/driver.c
index 717f5aaa..1ccc4f44 100644
--- a/src/flash/nand/driver.c
+++ b/src/flash/nand/driver.c
@@ -23,7 +23,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include <flash/nand.h>
+#include "core.h"
#include "driver.h"
/* NAND flash controller