UBI: Add basic UBI support to U-Boot (Part 3/8)
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 19 Nov 2008 15:26:54 +0000 (16:26 +0100)
committerStefan Roese <sr@denx.de>
Wed, 19 Nov 2008 19:34:39 +0000 (20:34 +0100)
commit2d262c4853cb5b6ddce1a28a9641f2de3688d7ea
treea4669907dce1203bda8ffb9d16f211992247b371
parent961df83361aff9a14f226214224eb8a06e05ba24
UBI: Add basic UBI support to U-Boot (Part 3/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>
drivers/mtd/ubi/io.c [new file with mode: 0644]
drivers/mtd/ubi/kapi.c [new file with mode: 0644]
drivers/mtd/ubi/misc.c [new file with mode: 0644]