* [U-Boot] SST39VF1601 flash driver
@ 2009-01-26 23:48 Jerry Zhang
2009-01-27 5:23 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Jerry Zhang @ 2009-01-26 23:48 UTC (permalink / raw)
To: u-boot
hello, all!
I am porting u-boot to my board. I found it is difficult for me to write
the flash driver ( flash.c) of SST39VF1601 by myself. Has anyone ever
written this driver? Would you please give me a guide?
Thanks in advance!
Jerry.Zhang
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] SST39VF1601 flash driver
2009-01-26 23:48 [U-Boot] SST39VF1601 flash driver Jerry Zhang
@ 2009-01-27 5:23 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2009-01-27 5:23 UTC (permalink / raw)
To: u-boot
Hi Jerry,
On Tuesday 27 January 2009, Jerry Zhang wrote:
> I am porting u-boot to my board. I found it is difficult for me to write
> the flash driver ( flash.c) of SST39VF1601 by myself. Has anyone ever
> written this driver? Would you please give me a guide?
Sure this device has been supported many times (e.g.
board/esd/common/flash.c). But I suggest to support it now via the legacy
infrastructure of the common CFI flash driver. Take a look at the board hcu4
for example:
/* Use common CFI driver */
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_FLASH_CFI_DRIVER
/* board provides its own flash_init code */
#define CONFIG_FLASH_CFI_LEGACY 1
...
You will need to add a definition for the 39VF1601 to
drivers/mtd/jedec_flash.c though but this shouldn't be too hard.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-27 5:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 23:48 [U-Boot] SST39VF1601 flash driver Jerry Zhang
2009-01-27 5:23 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox