summaryrefslogtreecommitdiffstats
path: root/lib/libubigen.c
Commit message (Collapse)AuthorAgeFilesLines
* ubiformat: Use mtd-peb APISascha Hauer2016-04-061-17/+6
| | | | | | | | This changes ubiformat from the libmtd API to the mtd-peb API. This makes the libmtd API unnecessary and it can be removed in the next step. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: libubigen math compile error fixRobert Jarzmik2014-01-061-1/+2
| | | | | | | | | | | | | A compile error appears in libubigen on PXA architecture, because of a division of an long long by a int : /home/rj/mio_linux/barebox/lib/libubigen.c:105: undefined reference to `__aeabi_ldivmod' arm-linux-gnueabi-ld: BFD (GNU Binutils for Debian) 2.20.1.20100303 assertion fail ../../bfd/elf32-arm.c:12497 Fix it by using div_u64 instead. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: add libubigenWolfram Sang2012-12-191-0/+312
Imported from mtd-utils and stripped down to needed functionality. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>