yaffs u-boot: Fix problem if an illegal nand chip number is entered.
authorCharles Manning <cdhmanning@gmail.com>
Tue, 17 Apr 2012 02:48:18 +0000 (14:48 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 17 Apr 2012 02:48:18 +0000 (14:48 +1200)
commit14ff4e16e60a065286fd5f4bbe305c45db32affc
treecc05b162094f2ccdc1af233b000743b359e5d2d7
parent8b348464b712730cbc18391924d805c1cab7b9ff
yaffs u-boot: Fix problem if an illegal nand chip number is entered.

The bad flash part was being seen as bad but then the function did not bail out.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/u-boot/fs/yaffs2/yaffs_uboot_glue.c