Skip to contentSkip to conversation

UBI: Add basic UBI support to U-Boot (Part 8/8)

PATCH New Stefan Roese 1 participant 1 message Nov 19, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 9/11 UBI: Add basic UBI support to U-Boot (Part 8/8)

From: Kyungmin Park <[email protected]>

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.

---
 Makefile                       |    1 +
 include/linux/mtd/ubi-header.h |  360 ----------------------------------------
 include/linux/mtd/ubi-user.h   |  161 ------------------
 3 files changed, 1 insertions(+), 521 deletions(-)
 delete mode 100644 include/linux/mtd/ubi-header.h
 delete mode 100644 include/linux/mtd/ubi-user.h
Makefile +1 -0
index fd521b6..befb608 100644
@@ -230,6 +230,7 @@ LIBS += drivers/mtd/libmtd.a
 LIBS += drivers/mtd/nand/libnand.a
 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
 LIBS += drivers/mtd/onenand/libonenand.a
+LIBS += drivers/mtd/ubi/libubi.a
 LIBS += drivers/mtd/spi/libspi_flash.a
 LIBS += drivers/net/libnet.a
 LIBS += drivers/net/phy/libphy.a
include/linux/mtd/ubi-header.h deleted +0 -360

360 lines not on this page · raw message

include/linux/mtd/ubi-user.h deleted +0 -161

161 lines not on this page · raw message

Signature · 1 line
1.6.0.4