--- zzzz-none-000/linux-2.4.17/drivers/mtd/afs.c 2001-10-04 22:14:41.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/drivers/mtd/afs.c 2004-11-24 13:22:49.000000000 +0000 @@ -21,7 +21,7 @@ This is access code for flashes using ARM's flash partitioning standards. - $Id: afs.c,v 1.6 2001/10/02 10:04:51 rmk Exp $ + $Id: afs.c,v 1.1.1.1 2003/06/23 22:18:28 jharrell Exp $ ======================================================================*/ @@ -82,6 +82,12 @@ if (fs.signature != 0xa0ffff9f) ret = 1; + /* + * Don't touch the SIB. + */ + if (fs.type == 2) + ret = 1; + *iis_start = fs.image_info_base & mask; *img_start = fs.image_start & mask;