diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/nand-x1000.h')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/nand-x1000.h | 2 |
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); | |||
99 | extern int nand_read(uint32_t addr, uint32_t size, uint8_t* buf); | 99 | extern int nand_read(uint32_t addr, uint32_t size, uint8_t* buf); |
100 | extern int nand_write(uint32_t addr, uint32_t size, const uint8_t* buf); | 100 | extern 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. */ |
105 | extern int nand_erase(uint32_t addr, uint32_t size); | 105 | extern int nand_erase(uint32_t addr, uint32_t size); |