]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/linux/mtd/mtd.h
mtd, nand: Move common functions from cmd_nand.c to common place
[karo-tx-uboot.git] / include / linux / mtd / mtd.h
index 86664132759ec33aca7c0176c300ce6c819a3e28..33669da4ed8a9c2a8f29d389e8ac4bce142292c9 100644 (file)
@@ -482,5 +482,10 @@ int add_mtd_device(struct mtd_info *mtd);
 int del_mtd_device(struct mtd_info *mtd);
 int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
 int del_mtd_partitions(struct mtd_info *);
+
+int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size,
+               loff_t *maxsize, int devtype, int chipsize);
+int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off,
+                loff_t *size, loff_t *maxsize, int devtype, int chipsize);
 #endif
 #endif /* __MTD_MTD_H__ */