summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h
index d135927a29..0b87ca3260 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -131,6 +131,11 @@ int nand_get_lock_status(nand_info_t *meminfo, loff_t offset);
int nand_get_features( nand_info_t *meminfo, uint8_t faddr, uint8_t *features);
int nand_set_features( nand_info_t *meminfo, uint8_t faddr, uint8_t *features);
+#if CONFIG_OMAP3_LOGIC
+/* Function to disable the NAND in-chip ECC (if applicable) */
+void nand_disable_in_chip_ecc(void);
+#endif
+
#ifdef CONFIG_SYS_NAND_SELECT_DEVICE
void board_nand_select_device(struct nand_chip *nand, int chip);
#endif