From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang Jian Date: Mon, 26 Dec 2005 09:49:10 +0800 Subject: [U-Boot-Users] Suggestion on flash init In-Reply-To: <20051225163450.08533353ACD@atlas.denx.de> References: <20051225190658.F3F9.LARK@linux.net.cn> <20051225163450.08533353ACD@atlas.denx.de> Message-ID: <20051226094054.F3FC.LARK@linux.net.cn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang Denk, On Sun, 25 Dec 2005 17:34:49 +0100, Wolfgang Denk wrote: > In message <20051225190658.F3F9.LARK@linux.net.cn> you wrote: > > > > I have tested cfi_flash.c for a while. Unfortuanately, it fails for > > Spansion S29AL016M. The chip can be recognized, chip information is all > > correct, but the erase and write routines fail. > > Then please (lets) fix the problem instead of inventing the wheel again. After a bad sleep, I read the manual again. This time, I find the cfi_flash.c DOES do as what manual says. I will set some debug information and find what happend. Stay tune. -- lark