public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: jerzy dyrda <jerzy.dyrda@kontron.pl>
To: ecos-devel@ecos.sourceware.org
Cc: "Jürgen Lambrecht" <J.Lambrecht@televic.com>,
	"Dries Demeulemeester" <D.Demeulemeester@televic.com>
Subject: Re: SPI flash driver
Date: Tue, 11 May 2010 13:48:00 -0000	[thread overview]
Message-ID: <201005111548.03733.jerzy.dyrda@kontron.pl> (raw)
In-Reply-To: <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

  reply	other threads:[~2010-05-11 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 12:49 Jürgen Lambrecht
2010-05-11 13:48 ` jerzy dyrda [this message]
2010-05-11 13:53 ` Nick Garnett

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=201005111548.03733.jerzy.dyrda@kontron.pl \
    --to=jerzy.dyrda@kontron.pl \
    --cc=D.Demeulemeester@televic.com \
    --cc=J.Lambrecht@televic.com \
    --cc=ecos-devel@ecos.sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).