Skip to contentSkip to conversation

supported flashes?

U-Boot-Users Bastos Fernandez Alexandre 2 participants 2 messages Jun 17, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · 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

Quoted 1 line

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.

Quoted 1 line

common/flash.c

-> common flash handling routines

Quoted 1 line

common/env_flash.c

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

Quoted 2 lines

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

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

Quoted 2 lines

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

Signature · 4 lines
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."