
5 Aug
2003
5 Aug
'03
4:34 p.m.
In message 20030805134735.21564.qmail@web40409.mail.yahoo.com you wrote:
I picked the flash.c from fads and modified few things.
I went through the code of walnut405 ( flash.c ) looks like it has some kind of fix for this. The ( unsigned short ) declarations.
This is not a "fix". It is a different configuration for a different board.
You cannot simply pick any flash driver and hope it will work as is for you. You must adapt (port) the flash driver as required by the hardware on your board.
Note that it is generally a bad idea to use the FADS as an example configuration.
But I am able to detect the sectors correctly.
That means nothing.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Let's say the docs present a simplified view of reality... :-)
- Larry Wall in 6940@jpl-devvax.JPL.NASA.GOV