Merge tag 'xilinx-for-v2025.01-rc3-v2' of https://source.denx.de/u-boot/custodians...
[u-boot.git] / cmd / legacy-mtd-utils.h
blobac441d5558a1cd97f5bc3262061b501a293c71b5
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 #ifndef __LEGACY_MTD_UTILS_H
4 #define __LEGACY_MTD_UTILS_H
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);
12 #endif /* LEGACY_MTD_UTILS_H */