mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
UBI: Add basic UBI support to U-Boot (Part 6/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>
This commit is contained in:
committed by
Stefan Roese
parent
c91a719daa
commit
7e6ee7ad27
@@ -73,4 +73,9 @@ struct mtdids {
|
||||
#define putLabeledWord(x, y) printf("%s %08x\n", x, (unsigned int)y)
|
||||
#define led_blink(x, y, z, a)
|
||||
|
||||
/* common/cmd_jffs2.c */
|
||||
extern int mtdparts_init(void);
|
||||
extern int find_dev_and_part(const char *id, struct mtd_device **dev,
|
||||
u8 *part_num, struct part_info **part);
|
||||
|
||||
#endif /* load_kernel_h */
|
||||
|
Reference in New Issue
Block a user