[U-Boot-Users] CFI flash driver

Hi all!
I'm currently working in a new board which supports up to two flash banks. We are using CFI compliant flashes (S29GLXXXN) and I would like to know if it is really necessary to have a board specific driver, or if the cfi_flash.c driver is enough.
Looking at to majority of the boards supported by U-Boot until now, most of them use specific drivers instead of using the cfi_flash (even when the flash is CFI compliant). Is there any particular reason?!
Thanks in advance and best regards, João Mouro

In message 852246F66844CC41A5FE1EF659F98F9003164E94@lisi053a.siemens.pt you wrote:
Looking at to majority of the boards supported by U-Boot until now, most of them use specific drivers instead of using the cfi_flash (even when the flash is CFI compliant). Is there any particular reason?!
In most cases it's an issue of copy & paste from existing boards, and in some cases it's because of code size.
------_=_NextPart_001_01C5EAAE.D985BADA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
Please *stop* posting HTML to this list!
Best regards,
Wolfgang Denk

On Wed, Nov 16, 2005 at 01:08:34PM -0000, Joao Mouro (Ext_NBS) wrote:
We are using CFI compliant flashes (S29GLXXXN) and I would like to know if it is really necessary to have a board specific driver, or if the cfi_flash.c driver is enough.
I recently ported U-Boot to a custom board utilizing Spansion S29GLxxxM chip. I used drivers/cfi_flash.c, but at least on this particular board it needed an additional patch. I haven't yet verified if this patch is really needed or if it's just an configuration issue.
I used a patch by Alex Bastos, that is available on u-boot-users list archives, look for this message [1]:
From: Alex BASTOS Subject: [U-Boot-Users] [PATCH] drivers/cfi_flash.c support for 8 BIT mode Spansion CFI Flashes Date: Thu, 21 Apr 2005 13:18:53 +0200 Message-ID: <1114082333.42678c1d22672@webmail.televes.com:443>
[1] http://sourceforge.net/mailarchive/message.php?msg_id=11540959
-kimju
participants (3)
-
Joao Mouro (Ext_NBS)
-
Kimmo Jukarainen
-
Wolfgang Denk