summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/nand-x1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/nand-x1000.h')
-rw-r--r--firmware/target/mips/ingenic_x1000/nand-x1000.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/nand-x1000.h b/firmware/target/mips/ingenic_x1000/nand-x1000.h
index f5db0bbfa5..cc56b836f8 100644
--- a/firmware/target/mips/ingenic_x1000/nand-x1000.h
+++ b/firmware/target/mips/ingenic_x1000/nand-x1000.h
@@ -99,7 +99,7 @@ extern int nand_enable_writes(bool en);
99extern int nand_read(uint32_t addr, uint32_t size, uint8_t* buf); 99extern int nand_read(uint32_t addr, uint32_t size, uint8_t* buf);
100extern int nand_write(uint32_t addr, uint32_t size, const uint8_t* buf); 100extern int nand_write(uint32_t addr, uint32_t size, const uint8_t* buf);
101 101
102/* Ereas eoperates on whole blocks. Like the page read/write operations, 102/* Erase operates on whole blocks. Like the page read/write operations,
103 * the address and size must be aligned to a multiple of the block size. 103 * the address and size must be aligned to a multiple of the block size.
104 * If not, no blocks are erased and an error code is returned. */ 104 * If not, no blocks are erased and an error code is returned. */
105extern int nand_erase(uint32_t addr, uint32_t size); 105extern int nand_erase(uint32_t addr, uint32_t size);