UBI: Add basic UBI support to U-Boot (Part 4/8)
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 19 Nov 2008 15:27:23 +0000 (16:27 +0100)
committerStefan Roese <sr@denx.de>
Wed, 19 Nov 2008 19:34:39 +0000 (20:34 +0100)
commitf412fefa079c6aa9a9763f6869bf787ea6bf6e1b
treece0f7eb4c1b6a45ce1a60bd33fae225832d8cd09
parent2d262c4853cb5b6ddce1a28a9641f2de3688d7ea
UBI: Add basic UBI support to U-Boot (Part 4/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/scan.c [new file with mode: 0644]
drivers/mtd/ubi/scan.h [new file with mode: 0644]
drivers/mtd/ubi/ubi-media.h [new file with mode: 0644]
drivers/mtd/ubi/ubi.h [new file with mode: 0644]