summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-26 11:35:38 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-15 11:29:27 +0100
commitfdac29be6259e75ded9b322949ed56236b30d47d (patch)
treedf6e31c4f54a54da8a582554036c9396c3b7ac37 /include/linux
parent30750ef9903470e01ac864bafe366d5c724c545b (diff)
downloadbarebox-fdac29be6259e75ded9b322949ed56236b30d47d.tar.gz
barebox-fdac29be6259e75ded9b322949ed56236b30d47d.tar.xz
mtd: Introduce mtd_check_pattern
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/mtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 4374882288..18d886649a 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -313,6 +313,7 @@ int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs);
int mtd_block_markgood(struct mtd_info *mtd, loff_t ofs);
int mtd_buf_all_ff(const void *buf, unsigned int len);
+int mtd_buf_check_pattern(const void *buf, uint8_t patt, int size);
/*
* Debugging macro and defines