u-boot/drivers/mtd/ubi
Holger Brunck d63894654d UBI: init eba tables before wl when attaching a device
This fixes that u-boot gets stuck when a bitflip was detected
during "ubi part <ubi_device>". If a bitflip was detected UBI tries
to copy the PEB to a different place. This needs that the eba table
are initialized, but this was done after the wear levelling worker
detects the bitflip. So changes the initialisation of these two
tasks in u-boot.

This is a u-boot specific patch and not needed in the linux layer,
because due to commit 1b1f9a9d00
UBI: Ensure that "background thread" operations are really executed
we schedule these tasks in place and not as in linux after the inital
task which schedule this new task is finished.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
2011-10-12 11:36:05 +02:00
..
build.c UBI: init eba tables before wl when attaching a device 2011-10-12 11:36:05 +02:00
crc32.c Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
crc32defs.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
crc32table.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
debug.c UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
debug.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
eba.c UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
io.c Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
kapi.c UBI: Add basic UBI support to U-Boot (Part 3/8) 2008-11-19 20:34:39 +01:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc.c UBI: Add basic UBI support to U-Boot (Part 3/8) 2008-11-19 20:34:39 +01:00
scan.c UBI: Add basic UBI support to U-Boot (Part 4/8) 2008-11-19 20:34:39 +01:00
scan.h UBI: Add basic UBI support to U-Boot (Part 4/8) 2008-11-19 20:34:39 +01:00
ubi-media.h UBI: Add basic UBI support to U-Boot (Part 4/8) 2008-11-19 20:34:39 +01:00
ubi.h GCC4.6: Squash warning in vmt.c 2011-10-01 23:34:03 +02:00
upd.c UBI: Add basic UBI support to U-Boot (Part 5/8) 2008-11-19 20:34:39 +01:00
vmt.c GCC4.6: Squash warning in vmt.c 2011-10-01 23:34:03 +02:00
vtbl.c UBI: initialise update marker 2010-06-23 00:00:05 +02:00
wl.c UBI: Ensure that "background thread" operations are really executed 2010-05-19 10:57:19 +02:00