summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/nand_omap_bch_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/raw/nand_omap_bch_decoder.h')
-rw-r--r--drivers/mtd/nand/raw/nand_omap_bch_decoder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/nand_omap_bch_decoder.h b/drivers/mtd/nand/raw/nand_omap_bch_decoder.h
new file mode 100644
index 0000000000..a8c71f77f8
--- /dev/null
+++ b/drivers/mtd/nand/raw/nand_omap_bch_decoder.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef MTD_OMAP_GPMC_DECODE_BCH_H
+#define MTD_OMAP_GPMC_DECODE_BCH_H
+
+int omap_gpmc_decode_bch(int select_4_8, unsigned char *ecc, unsigned int *err_loc);
+
+#endif /* MTD_OMAP_GPMC_DECODE_BCH_H */