summaryrefslogtreecommitdiff
path: root/src/flash/nand/imp.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-11 18:43:27 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-11 18:45:34 -0800
commit75892bfc6ecc41ae19d65c862f0db6f2c1023c2d (patch)
tree8ff4440108c5e692e2bc308bc262322bf11e3f1b /src/flash/nand/imp.h
parent8438dee786d857723e29eef23f897df6b194a793 (diff)
downloadopenocd+libswd-75892bfc6ecc41ae19d65c862f0db6f2c1023c2d.tar.gz
openocd+libswd-75892bfc6ecc41ae19d65c862f0db6f2c1023c2d.tar.bz2
openocd+libswd-75892bfc6ecc41ae19d65c862f0db6f2c1023c2d.tar.xz
openocd+libswd-75892bfc6ecc41ae19d65c862f0db6f2c1023c2d.zip
add missing call to add new NAND devices
I forgot to add a call to the newly factored nand_device_add(), along with its forward declaration.
Diffstat (limited to 'src/flash/nand/imp.h')
-rw-r--r--src/flash/nand/imp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nand/imp.h b/src/flash/nand/imp.h
index e0d411fa..e6c9c5ff 100644
--- a/src/flash/nand/imp.h
+++ b/src/flash/nand/imp.h
@@ -22,6 +22,8 @@
#include "core.h"
#include "driver.h"
+void nand_device_add(struct nand_device *c);
+
int nand_write_page(struct nand_device *nand,
uint32_t page, uint8_t *data, uint32_t data_size,
uint8_t *oob, uint32_t oob_size);