public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver
Date: Mon, 20 Nov 2006 18:49:37 -0600	[thread overview]
Message-ID: <45624D21.5020508@orkun.us> (raw)
In-Reply-To: <c166aa9f0611201620q289593d0n3e106fe0eebcb451@mail.gmail.com>

Andrew Dyer wrote:

>>> --- drivers/cfi_flash.c 17 Nov 2006 09:02:43 -0000
>>>  1.2
>>> +++ drivers/cfi_flash.c 20 Nov 2006 03:41:43 -0000
>>>  1.3
>>> @@ -1107,7 +1107,12 @@ ulong flash_get_size (ulong
>>> +#ifndef CONFIG_S29GL064M
>>> info->write_tout = (tmp * (1 << flash_read_uchar
>>> (info, FLASH_OFFSET_WMAX_TOUT))) / 1000;
>>> +#else
>>> + info->write_tout = 1;   /* Suggested by Tolunay */
>>> +#endif /* CONFIG_S29GL064M  */
>>> +
>>>
>>>       
>> Instead of a chip specific solution we should try to find more
>> generalized solution. At minimum, we could always use 1 if the value
>> turns out to be 0 after calculation.
>>
>>     
>
> I think we had a long e-mail exchange about this problem in may of '05
> some of which is here:
>
> http://article.gmane.org/gmane.comp.boot-loaders.u-boot/17379
>
> it looks like a fix never got committed (at least as of the last time
> I pulled from git which was admittedly a while ago).
>
>   
Thanks Andew for jogging my memory. I now remember that discussion and 
actually I did submit a patch which was committed. It is in the git. I 
just checked it. It was committed Feb 28, 2006

http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commitdiff;h=79b4cda076069d04122f0d863bcb822b5e596c93

Sam you said this in your original mail:
> What could be the problem be? I use the CFI driver
> from GIT repository on Nov. 2.
Sam please do sync up with the git and please make sure you do have 
latest code next time.

Best regards,
Tolunay

  parent reply	other threads:[~2006-11-21  0:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17  8:16 [U-Boot-Users] u-boot hanging Ram
2006-11-17 12:00 ` [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver Sam Song
2006-11-17 16:40   ` Tolunay Orkun
2006-11-19 11:43     ` Sam Song
2006-11-19 19:27       ` Tolunay Orkun
2006-11-20 10:48         ` Sam Song
2006-11-20 23:39           ` Tolunay Orkun
2006-11-21  0:20             ` Andrew Dyer
2006-11-21  0:47               ` Andrew Dyer
2006-11-21  0:49               ` Tolunay Orkun [this message]
2006-11-21 13:25                 ` Sam Song
2006-11-21  0:52               ` Wolfgang Denk
2006-11-17 21:12 ` [U-Boot-Users] u-boot hanging Wolfgang Denk
2006-11-20  6:09   ` Ram
  -- strict thread matches above, loose matches on Subject: below --
2006-11-20 11:10 [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver Bastos Fernandez Alexandre
2006-11-20 10:55 ` Sam Song

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=45624D21.5020508@orkun.us \
    --to=listmember@orkun.us \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox