From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 7 Aug 2006 13:43:19 +0200 Subject: [U-Boot-Users] [RFC] CFI Driver Little-Endian write Issue In-Reply-To: <17623.7752.296873.439063@astp0002.localdomain> References: <20060804123231.77800.qmail@web15908.mail.cnb.yahoo.com> <20060804134457.5742A352640@atlas.denx.de> <17623.7752.296873.439063@astp0002.localdomain> Message-ID: <200608071343.20865.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Yuli, On Monday 07 August 2006 13:04, Yuli Barcohen wrote: > Sounds like it's the (in)famous byte lanes swapping issue. It's so > common that Linux MTD code even includes support for this. There are > even more problematic flashes like Spansion S70GL256M which consists of > two parts, one big-endian and another little-endian. I had to support > the lanes swapping (and even the "mixed-endian") on many customers' > boards. I've attached to this mail the CFI driver version which I > use. It works well on many PowerPC boards but I've got no little-endian > system to test it (my tree is not fully merged with official GIT right > now so I'm not sending a patch, I can prepare one if you think the > approach is OK). Yes, please send a patch, so we can better see the changes to the official version. Thanks. Best regards, Stefan