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] flash driver in u-boot
Date: Mon, 16 Oct 2006 18:42:12 -0500	[thread overview]
Message-ID: <453418D4.9020208@orkun.us> (raw)
In-Reply-To: <198592450610161553q7939fe16x2ac4a3135d81a161@mail.gmail.com>

Reeve Yang wrote:
> I'm a little confused by flash driver selection in u-boot. My flash 
> device is intel JS28F128J3, I assume it's not CFI flash so I want to use 

Intel 28F128J3 is a CFI compliant flash chip.

> strataflash.c. I added such file under my board directory, add it into 
> Makefile, and undef CFG_FLASH_CFI_DRIVER, but I got link error. If 

strataflash.c driver is a pre-cursor to common cfi_flash.c. Most boards 
are reworked to use the cfi_flash.c. To use strataflash.c you also had 
to define CFG_FLASH_CFI_DRIVER (as far as my memory serves). There is no 
reason to use a custom flash driver nowadays unless your flash is 
interfaced to the processor bus in a very unusual way (like data bus 
scrambled -- hardware design bugs)

> define this macro, the compilation is ok and my flash works. My question 
> is, if we define this macro, which flash driver being used? cfi_flash.c 
> or my strataflash.c?

Use cfi_flash.c

Tolunay

  parent reply	other threads:[~2006-10-16 23:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 22:53 [U-Boot-Users] flash driver in u-boot Reeve Yang
2006-10-16 23:40 ` Ben Warren
2006-10-16 23:42 ` Tolunay Orkun [this message]
2006-10-16 23:51   ` Reeve Yang
2006-10-17  8:10     ` Tolunay Orkun
2006-10-17 19:41     ` Michael Trimarchi

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=453418D4.9020208@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