legacy-mtd-utils.h 407 B

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