diff options
author | Tom Rini <trini@konsulko.com> | 2019-12-04 17:13:35 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-04 17:13:35 -0500 |
commit | c1c6e4a9da674bce5980d82f8a70a56e023e58c3 (patch) | |
tree | 46548095b9e4baaa3a7de1d0ce8d07168ad3c01a /cmd/legacy-mtd-utils.h | |
parent | 94d022bb400890f22fe35220d2519c3bce73f05e (diff) | |
parent | fb4384490df4e753dcac0478bdb5e912994ef9d6 (diff) | |
download | u-boot-c1c6e4a9da674bce5980d82f8a70a56e023e58c3.tar.gz |
Merge branch '2019-10-27-mtd-cleanup'
- Merge the series to clean up our MTD Kconfig and Makefile logic
Diffstat (limited to 'cmd/legacy-mtd-utils.h')
-rw-r--r-- | cmd/legacy-mtd-utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/legacy-mtd-utils.h b/cmd/legacy-mtd-utils.h new file mode 100644 index 0000000000..ac441d5558 --- /dev/null +++ b/cmd/legacy-mtd-utils.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __LEGACY_MTD_UTILS_H +#define __LEGACY_MTD_UTILS_H + +int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size, + loff_t *maxsize, int devtype, uint64_t chipsize); +int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off, + loff_t *size, loff_t *maxsize, int devtype, + uint64_t chipsize); + +#endif /* LEGACY_MTD_UTILS_H */ |