diff options
author | Stefan Roese <sr@denx.de> | 2008-12-10 10:32:59 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-12-10 12:55:29 +0100 |
commit | 3b089e4f889a2902449d55e081c886ae607cae89 (patch) | |
tree | 25f58ae327d4bdec3ffa37e6202b6a608207c6cd /board/lubbock/flash.c | |
parent | 817329351639a8895cd9b87b33aeff043f3d5a44 (diff) | |
download | u-boot-imx-3b089e4f889a2902449d55e081c886ae607cae89.zip u-boot-imx-3b089e4f889a2902449d55e081c886ae607cae89.tar.gz u-boot-imx-3b089e4f889a2902449d55e081c886ae607cae89.tar.bz2 |
UBI: Set ubi_dev.type back to DEV_TYPE_NONE upon failing initialization
With this patch we set the type back to NONE upon failing UBI partition
initialization. Otherwise further calls to the UBI subsystem would try
to really access the non-existing UBI partition.
Thanks to Michael Lawnick for pointing this out.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/lubbock/flash.c')
0 files changed, 0 insertions, 0 deletions