public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] PATCH: drivers/mtd/jedec_flash.c (typo)
@ 2008-06-27  1:36 Jerry Hicks
  2008-07-06 20:57 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Jerry Hicks @ 2008-06-27  1:36 UTC (permalink / raw)
  To: u-boot

I noticed that the device id for AMD flash part AM29DL800BB is wrong.

Attached patch corrects it.

Cheers,

Jerry Hicks.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: jedec_flash.c.patch
Type: text/x-patch
Size: 314 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080626/1e4e5a3c/attachment.bin 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] PATCH: drivers/mtd/jedec_flash.c (typo)
  2008-06-27  1:36 [U-Boot-Users] PATCH: drivers/mtd/jedec_flash.c (typo) Jerry Hicks
@ 2008-07-06 20:57 ` Wolfgang Denk
  2008-07-07  0:55   ` Jerry Hicks
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2008-07-06 20:57 UTC (permalink / raw)
  To: u-boot

In message <48644421.9000108@gmail.com> you wrote:
>
> I noticed that the device id for AMD flash part AM29DL800BB is wrong.
> 
> Attached patch corrects it.
...
> -#define AM29DL800BB	0x22C8
> +#define AM29DL800BB	0x22CB

Hmmmm... I have but an old data sheet (Nov 2000) for this chip, which
indeed says 22CB. But then, even the current Linux kernel tree has
22C8.

Can anybody with access to  real  hardware  /  current  documentation
comment?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We, the unwilling, led by the unknowing, are doing the impossible for
the ungrateful. We have done so much, for so long, with so little, we
are now qualified to do anything with nothing.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] PATCH: drivers/mtd/jedec_flash.c (typo)
  2008-07-06 20:57 ` Wolfgang Denk
@ 2008-07-07  0:55   ` Jerry Hicks
  2008-07-08 11:00     ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: Jerry Hicks @ 2008-07-07  0:55 UTC (permalink / raw)
  To: u-boot

On Sun, Jul 6, 2008 at 4:57 PM, Wolfgang Denk <wd@denx.de> wrote:

> In message <48644421.9000108@gmail.com> you wrote:
> >
> > I noticed that the device id for AMD flash part AM29DL800BB is wrong.
> >
> > Attached patch corrects it.
> ...
> > -#define AM29DL800BB  0x22C8
> > +#define AM29DL800BB  0x22CB
>
> Hmmmm... I have but an old data sheet (Nov 2000) for this chip, which
> indeed says 22CB. But then, even the current Linux kernel tree has
> 22C8.
>
> Can anybody with access to  real  hardware  /  current  documentation
> comment?
>
> Best regards,
>
> Wolfgang Denk


(I had a connectivity "burp" earlier when sending a  reply.
 Please excuse if double-posted)

We were using a custom driver written by Andy Lowe of Montavista.
He had a #define local to our flash.c implementation when I noticed
the discrepancy between his local definition and the one in the u-boot
header.

On our hardware it works with 0x22CB but not with 0x22C8.

The current documentation from Spansion also shows it as 0x22CB.

http://www.spansion.com/datasheets/21519c4.pdf

Cheers,

Jerry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080706/efac2171/attachment.htm 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] PATCH: drivers/mtd/jedec_flash.c (typo)
  2008-07-07  0:55   ` Jerry Hicks
@ 2008-07-08 11:00     ` Stefan Roese
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2008-07-08 11:00 UTC (permalink / raw)
  To: u-boot

On Monday 07 July 2008, Jerry Hicks wrote:
> We were using a custom driver written by Andy Lowe of Montavista.
> He had a #define local to our flash.c implementation when I noticed
> the discrepancy between his local definition and the one in the u-boot
> header.
>
> On our hardware it works with 0x22CB but not with 0x22C8.
>
> The current documentation from Spansion also shows it as 0x22CB.
>
> http://www.spansion.com/datasheets/21519c4.pdf

I created an "official" patch for this and applied it to the cfi_flash 
repository. I'll send the pull request soon.

Thanks.

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] 4+ messages in thread

end of thread, other threads:[~2008-07-08 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27  1:36 [U-Boot-Users] PATCH: drivers/mtd/jedec_flash.c (typo) Jerry Hicks
2008-07-06 20:57 ` Wolfgang Denk
2008-07-07  0:55   ` Jerry Hicks
2008-07-08 11:00     ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox