From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] SST39VF1601 flash driver
Date: Tue, 27 Jan 2009 06:23:50 +0100 [thread overview]
Message-ID: <200901270623.50350.sr@denx.de> (raw)
In-Reply-To: <8c09713c0901261548p38ad2ef5p6eb3719bcc76dc62@mail.gmail.com>
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
=====================================================================
prev parent reply other threads:[~2009-01-27 5:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 23:48 [U-Boot] SST39VF1601 flash driver Jerry Zhang
2009-01-27 5:23 ` Stefan Roese [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901270623.50350.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.