This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: SPI flash driver
- From: jerzy dyrda <jerzy dot dyrda at kontron dot pl>
- To: ecos-devel at ecos dot sourceware dot org
- Cc: JÃrgen Lambrecht <J dot Lambrecht at televic dot com>, Dries Demeulemeester <D dot Demeulemeester at televic dot com>
- Date: Tue, 11 May 2010 15:48:03 +0200
- Subject: Re: SPI flash driver
- References: <4BE95262.9010906@televic.com>
Hello JÃrgen,
On Tuesday 11 May 2010 14:49:38 JÃrgen Lambrecht wrote:
> We will develop a SPI flash package for a Numonyx M25P80.
AFAIK those flashes are already supported ->
devs/flash/spi/m25pxx
static const m25pxx_params m25pxx_supported_devices [] = {
{ // Support for Numonyx 128 MBit devices.
sector_size : 1024,
sector_count : 64,
jedec_id : 0x00202018
},
{ // Support for Numonyx 64 MBit devices.
sector_size : 256,
sector_count : 128,
jedec_id : 0x00202017
},
{ // Support for Numonyx 16 MBit devices.
sector_size : 256,
sector_count : 64,
jedec_id : 0x00202016
},
{ // Support for Numonyx 16 MBit devices.
sector_size : 256,
sector_count : 32,
jedec_id : 0x00202015
},
{ // Support for Numonyx 8 MBit devices.
sector_size : 256,
sector_count : 16,
jedec_id : 0x00202014
^^^^^^^^^^^^^^^^
this one is yours
},
{ // Support for Numonyx 4 MBit devices.
sector_size : 256,
sector_count : 8,
jedec_id : 0x00202013
},
{ // Support for Numonyx 2 MBit devices.
sector_size : 256,
sector_count : 4,
jedec_id : 0x00202012
},
{ // Support for Numonyx 1 MBit devices.
sector_size : 128,
sector_count : 4,
jedec_id : 0x00202011
},
{ // Support for Numonyx 512 KBit devices.
sector_size : 128,
sector_count : 2,
jedec_id : 0x00202010
},
{ // Null terminating entry.
sector_size : 0,
sector_count : 0,
jedec_id : 0
}
};
--
MiÅego dnia / Best regards
Jerzy