From: Matt Fleming <matt@console-pimps.org>
To: linux-sh@vger.kernel.org
Subject: [PATCH 0/3] Fixed ioremap
Date: Sat, 07 Nov 2009 10:55:54 +0000 [thread overview]
Message-ID: <cover.1257590789.git.matt@console-pimps.org> (raw)
Hi,
this patch series provides and uses a new early ioremap implementation
using fixmaps. ioremap_fixed() is useful when you need to map some
physical address range really early in boot. See PATCH 2/3 for an
example. It's based on x86's early_ioremap().
Paul, as I don't have an sh64 compiler or board I've been unable to test
PATCH 3/3. If you (or anyone else) could give it a go, that'd be
great. Also, it's possible that some of the MMU code that is in
iroemap_fixed.c is SH4/SH4-A specific. I've done the best I could from
code inspection to make sure that it would work on non-SH4 boards, but I
could have missed something, and some SH4 quirks may have slipped in.
Matt Fleming (3):
sh: Add fixed ioremap support
sh: Use ioremap_fixmed to map the SM501 DRAM config register
sh: Use ioremap_fixed() to implement SH-5 ioremap()
arch/sh/boards/board-sh7785lcr.c | 11 ++-
arch/sh/include/asm/fixmap.h | 8 +
arch/sh/include/asm/io.h | 4 +
arch/sh/kernel/setup.c | 2 +
arch/sh/mm/Makefile | 3 +-
arch/sh/mm/ioremap_64.c | 290 +-------------------------------------
arch/sh/mm/ioremap_fixed.c | 209 +++++++++++++++++++++++++++
7 files changed, 238 insertions(+), 289 deletions(-)
create mode 100644 arch/sh/mm/ioremap_fixed.c
reply other threads:[~2009-11-07 10:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=cover.1257590789.git.matt@console-pimps.org \
--to=matt@console-pimps.org \
--cc=linux-sh@vger.kernel.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 NNTP newsgroup(s).