All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] supported flashes?
@ 2004-06-17  8:10 Bastos Fernandez Alexandre
  2004-06-17 10:15 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-06-17  8:10 UTC (permalink / raw)
  To: u-boot

Hi to all,

It's the first time I write to this list.
I am involved now in a new design based the MPC8272 processor.
I have choosen U-boot as my booter am by now I am trying to select the flash
memory, so I have to determine which are supported.

And this is not very easy, because I couldn't find any doc related to
hardware support. I have looked at the code and I found lots of files about
flash support. In particular:

 drivers/cfi_flash.c
 board/mpc8260ads/flash.c
 common/flash.c
 common/env_flash.c

I have concluded that cfi_flash.c gives support for all those flashes which
implements the JEDEC CFI interface with AMD or Intel command sets, and
mpc8260ads/flash.c gives support for the flash in the ADS board (which is
not CFI at all).
Am I wrong? What about the other files? Is there anywhere a list of
supported flashes?

In conclusion, can i suppose that any CFI flash with the appropriate command
set will be supported by u-boot.

Thanks to all


Alex Bastos

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

* [U-Boot-Users] supported flashes?
  2004-06-17  8:10 [U-Boot-Users] supported flashes? Bastos Fernandez Alexandre
@ 2004-06-17 10:15 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-06-17 10:15 UTC (permalink / raw)
  To: u-boot

In message <51DB8827D393D411BB69003048003F46FDCE51@TVESNTR> you wrote:
> 
> And this is not very easy, because I couldn't find any doc related to
> hardware support. I have looked at the code and I found lots of files about
> flash support. In particular:
> 
>  drivers/cfi_flash.c

-> generic flash driver for CFI conformant flash chips

>  board/mpc8260ads/flash.c

In general: board/<name>/flash.c:

-> board specific (optimized) flash driver suporting only the
   possible flash chip configurations on a specific board.

>  common/flash.c

-> common flash handling routines

>  common/env_flash.c

-> code to deal with saving environment variables in flash memory

> Am I wrong? What about the other files? Is there anywhere a list of
> supported flashes?

See include/flash.h for a list ;-)

> In conclusion, can i suppose that any CFI flash with the appropriate command
> set will be supported by u-boot.

Yes. And a lot more.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
A direct quote from the Boss: "We passed over a lot of good people to
get the ones we hired."

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

end of thread, other threads:[~2004-06-17 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17  8:10 [U-Boot-Users] supported flashes? Bastos Fernandez Alexandre
2004-06-17 10:15 ` Wolfgang Denk

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.