ubiformat: Allow to ubiformat with a buffer given
So far ubiformat can only handle files. Make it possible to pass
a buffer into ubiformat.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 359966d commit 6f3ff5e61c3ff92356345604415dd682b817bf76
@Sascha Hauer Sascha Hauer authored on 29 Jan 2018
Showing 2 changed files
View
common/ubiformat.c
View
include/ubiformat.h