summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/misc.c
Commit message (Collapse)AuthorAgeLines
* UBI: Add basic UBI support to U-Boot (Part 3/8)Kyungmin Park2008-11-19-0/+106
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>