UBI: Add basic UBI support to U-Boot (Part 2/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
- drivers/mtd/ubi/crc32defs.h 32 additions, 0 deletionsdrivers/mtd/ubi/crc32defs.h
- drivers/mtd/ubi/crc32table.h 136 additions, 0 deletionsdrivers/mtd/ubi/crc32table.h
- drivers/mtd/ubi/debug.c 192 additions, 0 deletionsdrivers/mtd/ubi/debug.c
- drivers/mtd/ubi/debug.h 152 additions, 0 deletionsdrivers/mtd/ubi/debug.h
- drivers/mtd/ubi/eba.c 1256 additions, 0 deletionsdrivers/mtd/ubi/eba.c
Loading
Please register or sign in to comment