summaryrefslogtreecommitdiff
path: root/src/flash/nand/imp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand/imp.h')
-rw-r--r--src/flash/nand/imp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nand/imp.h b/src/flash/nand/imp.h
index b381b538..e0d411fa 100644
--- a/src/flash/nand/imp.h
+++ b/src/flash/nand/imp.h
@@ -19,6 +19,9 @@
#ifndef FLASH_NAND_IMP_H
#define FLASH_NAND_IMP_H
+#include "core.h"
+#include "driver.h"
+
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);