diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2011-10-10 13:08:19 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2011-10-12 11:36:05 +0200 |
commit | d63894654df72b010de2abb4b3f07d0d755f65b6 (patch) | |
tree | fa28dcd2b07e3d8d3e992fd621cf59eab9477596 /drivers/mtd/ubi/io.c | |
parent | 349a8d5e56db4c0b199123d31ff5c0be67a39a42 (diff) | |
download | u-boot-imx-d63894654df72b010de2abb4b3f07d0d755f65b6.zip u-boot-imx-d63894654df72b010de2abb4b3f07d0d755f65b6.tar.gz u-boot-imx-d63894654df72b010de2abb4b3f07d0d755f65b6.tar.bz2 |
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 1b1f9a9d00447d
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>
Diffstat (limited to 'drivers/mtd/ubi/io.c')
0 files changed, 0 insertions, 0 deletions