blob: ac441d5558a1cd97f5bc3262061b501a293c71b5 [file] [log] [blame]
Miquel Raynaleb446ef2019-10-25 19:39:29 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef __LEGACY_MTD_UTILS_H
4#define __LEGACY_MTD_UTILS_H
5
6int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size,
7 loff_t *maxsize, int devtype, uint64_t chipsize);
8int 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 */