1 /* SPDX-License-Identifier: GPL-2.0+ */
2 
3 #ifndef __LEGACY_MTD_UTILS_H
4 #define __LEGACY_MTD_UTILS_H
5 
6 int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size,
7 		loff_t *maxsize, int devtype, uint64_t chipsize);
8 int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off,
9 		     loff_t *size, loff_t *maxsize, int devtype,
10 		     uint64_t chipsize);
11 
12 #endif /* LEGACY_MTD_UTILS_H */
13