public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Todd Poynor <tpoynor@mvista.com>
To: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Bug: Flash writing & suspending
Date: Sat, 08 Oct 2005 14:04:36 -0700	[thread overview]
Message-ID: <43483464.6010704@mvista.com> (raw)
In-Reply-To: <200510071436.09694.hs4233@mail.mn-solutions.de>

Holger Schurig wrote:
>>If that's accepted, I'll send a common PXA2xx platform driver for mtd that
>>adds the PM suspend/resume callbacks as discussed here recently.
> 
> Do you mean something like the sa1100-flash.c file?  Can't you re-use this 
> file?

Although we would need to do something about the sa1100-specific 
physical addresses and register access for bankwidth (this could 
probably go into the info passed from board files, there's a width field 
of the flash_info struct), and perhaps the pxa2xx cache invalidate code, 
but: yes, we're pretty close to a generic mapping driver for arches that 
declare a include/asm/mach/flash.h compatible with ARM's.  And there's 
probably a need for an alternative to the current definition of struct 
device's platform_data for these sorts of things, since many uses of 
platform_data really hold info represented in generic data structures, 
without a need for platform-specific definition or interpretation, so it 
could be on all platforms.  I might try to run that by folks sometime soon.


-- 
Todd

      reply	other threads:[~2005-10-08 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05 12:37 Bug: Flash writing & suspending Holger Schurig
2005-10-05 15:01 ` Holger Schurig
2005-10-05 16:47   ` Todd Poynor
2005-10-07 12:36     ` Holger Schurig
2005-10-08 21:04       ` Todd Poynor [this message]

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=43483464.6010704@mvista.com \
    --to=tpoynor@mvista.com \
    --cc=hs4233@mail.mn-solutions.de \
    --cc=linux-mtd@lists.infradead.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