]> git.sur5r.net Git - u-boot/commit
ubi: reset mtd_devs when ubi part fail
authorHeiko Schocher <hs@denx.de>
Tue, 20 Jan 2015 08:05:23 +0000 (09:05 +0100)
committerHeiko Schocher <hs@denx.de>
Wed, 28 Jan 2015 06:41:18 +0000 (07:41 +0100)
commit40da2a2a08f12015d06d78a334e4d977963fee34
treeabfbceaac1153b543241fec15a9e4ac3dd02b7d4
parentab92da9f47d51d363c7de42e2a7bd807e2c1bd54
ubi: reset mtd_devs when ubi part fail

if "ubi part" fails, reset also mtd_devs to 0, as
further "ubi part" would use wrong mtd_devs.

Signed-off-by: Heiko Schocher <hs@denx.de>
drivers/mtd/ubi/build.c