UBI: Add basic UBI support to U-Boot (Part 6/8)
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
Showing
- include/exports.h 1 addition, 0 deletionsinclude/exports.h
- include/jffs2/load_kernel.h 5 additions, 0 deletionsinclude/jffs2/load_kernel.h
- include/linux/crc32.h 27 additions, 0 deletionsinclude/linux/crc32.h
- include/linux/mtd/partitions.h 84 additions, 0 deletionsinclude/linux/mtd/partitions.h
- include/linux/types.h 24 additions, 0 deletionsinclude/linux/types.h
- include/ubi_uboot.h 217 additions, 0 deletionsinclude/ubi_uboot.h
- lib_generic/vsprintf.c 23 additions, 0 deletionslib_generic/vsprintf.c
Loading
Please register or sign in to comment