aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/imp.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-04 14:06:20 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-04 16:56:23 -0800
commitd9dc604a4d790f557a7ba502babdabffa27eaa17 (patch)
tree2df028ecfa72a89775956202975c890493f83714 /src/flash/nor/imp.h
parent1527272fb21beee7839335ea5587e879163d2ed1 (diff)
remove target.h from flash.h
The flash.h header does not require the target.h header file, but its implementation source files do. Move it to flash/nor/imp.h.
Diffstat (limited to 'src/flash/nor/imp.h')
-rw-r--r--src/flash/nor/imp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/imp.h b/src/flash/nor/imp.h
index ade7297a..84ef8715 100644
--- a/src/flash/nor/imp.h
+++ b/src/flash/nor/imp.h
@@ -21,6 +21,10 @@
// this is an internal header
#include "core.h"
+// common flash internals
+#include <flash/common.h>
+// almost all drivers will need this file
+#include <target/target.h>
/**
* Adds a new NOR bank to the global list of banks.