All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Query: Does Uboot support CFI flash driver forM29W128GH
Date: Wed, 28 Oct 2009 10:08:12 +0200	[thread overview]
Message-ID: <200910280908.12819.sr@denx.de> (raw)
In-Reply-To: <b9c1f3ac0910272323h130d17cbt617df5c3bd9865c1@mail.gmail.com>

Hi Prakash,

On Wednesday 28 October 2009 07:23:31 prakash bedge wrote:
> Thanks. I have seen that patch work and I will try it and hope it will work
> for M29W128GH (ST make).
> 
> But why I am not seeing the chip name and any instance of M29W128GH in
>  Uboot source code?
> Is it because the chip is CFI compliant?

Yes. For CFI compliant chips features like sector count, sector sizes etc are 
autodetected. No need to define the chip with it's ID anywhere.

> How I can crosscheck that present Uboot V2009.08 works for M29W128GH? Which
> folder I should check for that?
> I believe the Patch sent by you will work in this version.

You should test it with the latest version of mainline U-Boot:

http://git.denx.de/?p=u-boot.git;a=summary

Please note that you need to add a board specific flash_cmd_reset() function 
for this chip to work correctly. Something like this should work (untested):

void flash_cmd_reset(flash_info_t *info)
{
	flash_write_cmd(info, 0, 0, AMD_CMD_RESET);
}

Cheers,
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

  reply	other threads:[~2009-10-28  8:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b9c1f3ac0910270208o212e2574x9892fc9b25399f19@mail.gmail.com>
2009-10-27  9:09 ` [U-Boot] Query: Does Uboot support CFI flash driver for M29W128GH prakash bedge
2009-10-27 10:21   ` [U-Boot] Query: Does Uboot support CFI flash driver forM29W128GH Sreedhar.a
2009-10-27 13:13     ` prakash bedge
2009-10-27 14:34       ` Stefan Roese
2009-10-28  6:23         ` prakash bedge
2009-10-28  8:08           ` Stefan Roese [this message]
2009-10-29  6:24             ` prakash bedge
2009-10-29  7:21               ` Stefan Roese
2009-10-29 10:19                 ` prakash bedge

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=200910280908.12819.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.