From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www.osadl.org ([213.239.205.134] helo=mail.tglx.de) by pentafluge.infradead.org with esmtp (Exim 4.62 #1 (Red Hat Linux)) id 1FjuNv-00045O-4I for linux-mtd@lists.infradead.org; Sat, 27 May 2006 09:42:59 +0100 From: Thomas Gleixner To: Simon Vogl In-Reply-To: <446ED4ED.80704@soft.uni-linz.ac.at> References: <1147822363.30771.10.camel@shinybook.infradead.org> <446ED4ED.80704@soft.uni-linz.ac.at> Content-Type: text/plain Date: Sat, 27 May 2006 10:43:05 +0200 Message-Id: <1148719386.5239.125.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: David Woodhouse , linux-mtd@lists.infradead.org, Dan Merillat , Jayasri Sangu Subject: Re: Intel P30 flash support MTD 2.4.16 kernel Reply-To: tglx@linutronix.de List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2006-05-20 at 10:35 +0200, Simon Vogl wrote: > > If it fails, turn on DEBUG_CFI_FEATURES in > > drivers/mtd/chips/cfi_cmdset_0001.c and check > > for Simultaneous Operations. Some P30 versions erroniously set that > > bit and fail horribly as a result. I spent a week trying to figure > > that out. > > > I found out this minute that this could apply to my pxa271 core (with > on-chip p30 flash!) > as well - it reports the sim.op. bit, while the data sheet says no. > Could you tell me what your > symptoms were, and your cure (a code snippet, preferrably)? The real cure is to replace the chips by working ones. The hack is to mask out the simultaneous ops bit when reading the CFI features. tglx