All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frank Svendsbøe" <frank.svendsboe@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
Date: Fri, 9 Apr 2010 09:55:10 +0200	[thread overview]
Message-ID: <q2j1ba63b521004090055z38a023acqea5e288c2a0272c3@mail.gmail.com> (raw)
In-Reply-To: <201004090935.13678.sr@denx.de>

>> Does it mean I have to CFI_MTD ot common CFI_DRIVER will works?
>
> I don't understand this question.
>

me neither

>> ?*----------------------------------------------------------------------*/
>> #define CONFIG_SYS_FLASH_CFI
>> #define CONFIG_FLASH_CFI_DRIVER
>> #define CONFIG_SYS_FLASH_EMPTY_INFO ?/* print 'E' for empty sector on
>> flinfo */
>>
>> #define CONFIG_SYS_FLASH_BANKS_LIST ? ?{CONFIG_SYS_FLASH_BASE}
>> #define CONFIG_SYS_MAX_FLASH_BANKS ? ? 1 ? ? ?/* number of banks ? ? */
>> #define CONFIG_SYS_MAX_FLASH_SECT 512 ? ? ?/* sectors per device ? */
>> #define CONFIG_FLASH_SHOW_PROGRESS ?1
>>
>> #define CONFIG_SYS_FLASH_ERASE_TOUT 220000 /* Timeout for Flash Erase (in
>> ms) */
>> #define CONFIG_SYS_FLASH_WRITE_TOUT 100 /* Timeout for Flash Write (in
>> ms) */
>>
>> #define CONFIG_ENV_SECT_SIZE 0x20000 /* size of one complete sector */
>> #define CONFIG_ENV_ADDR ?(CONFIG_SYS_MONITOR_BASE-CONFIG_ENV_SECT_SIZE)
>> #define CONFIG_ENV_SIZE ?0x4000 /* Total Size of Environment Sector */
>
> This looks good. With these defines the CFI driver should work. You might want
> to add CONFIG_SYS_FLASH_USE_BUFFER_WRITE for write speedup. And you need to
> configure your access timing for the chip select to the NOR Chip correctly of
> course.
>

Yes, we use #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1, on order to
speed write ops.
Our BR- and OR setting is very conservative since some signals are
routed through an FPGA and are delayed.
For this reason, we utilize 8 wait states.

Frank

  reply	other threads:[~2010-04-09  7:55 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09  5:26 [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash? prakash bedge
2010-04-09  6:10 ` Stefan Roese
2010-04-09  7:22   ` prakash bedge
2010-04-09  7:35     ` Stefan Roese
2010-04-09  7:55       ` Frank Svendsbøe [this message]
2010-04-09  8:05       ` prakash bedge
2010-04-09  8:09         ` Stefan Roese
2010-04-09  9:10           ` Frank Svendsbøe
2010-04-09 12:11             ` prakash bedge
2010-04-09 13:27               ` Frank Svendsbøe
2010-04-12  4:13                 ` prakash bedge
2010-04-12 17:01                   ` Frank Svendsbøe
2010-04-12 17:15                   ` Frank Svendsbøe
2010-04-13  6:31                     ` prakash bedge
2010-04-13  8:34                       ` Stefan Roese
2010-04-13 11:46                         ` prakash bedge
2010-04-13 12:16                           ` Stefan Roese
2010-04-14  5:03                             ` prakash bedge
2010-04-14  7:38                               ` Frank Svendsbøe
2010-04-14 12:05                               ` Stefan Roese
2010-04-16 14:38                                 ` prakash bedge
2010-04-20  9:25                                   ` prakash bedge
2010-04-09 13:35               ` Stefan Roese
2010-04-12  4:18                 ` prakash bedge
2010-04-12  7:59                   ` Stefan Roese
2012-03-10 10:47   ` Balaji Sivakumar
2012-03-10 18:29     ` Dirk Behme
2012-03-10 19:10     ` Wolfgang Denk
2010-04-09  7:48 ` Frank Svendsbøe
2010-04-09  8:07   ` prakash bedge
2010-04-09  8:23     ` Frank Svendsbøe

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=q2j1ba63b521004090055z38a023acqea5e288c2a0272c3@mail.gmail.com \
    --to=frank.svendsboe@gmail.com \
    --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.