Hi Miquel,
On Thu, 6 Sep 2018 09:08:53 +0200
Miquel Raynal wrote:
> int ubi_part(char *part_name, const char *vid_header_offset)
> {
> + struct mtd_info *mtd;
> int err = 0;
> - char mtd_dev[16];
> - struct mtd_device *dev;
> - struct part_info *part;
> - u8 pnum;
>
UBI should not mess with MTD partitions, now that the partitions are
handled in a clean way, clean the ubi command and avoid using this
uneeded extra-glue to reference the devices.
Signed-off-by: Miquel Raynal
Reviewed-by: Stefan Roese
---
cmd/Kconfig | 2 ++
cmd/ubi.c | 100 +++
2 matches
Mail list logo