public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: hjk@linutronix.de (Hans J. Koch)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 05/07] Basic IO mappings for mach-tcc8k
Date: Mon, 22 Mar 2010 23:28:38 +0100	[thread overview]
Message-ID: <20100322222837.GB2547@local> (raw)
In-Reply-To: <20100322192748.GK2040@bluebox.local>

On Mon, Mar 22, 2010 at 08:27:49PM +0100, Hans J. Koch wrote:
> Map the IO ranges of TCC8xxx peripherals.
> 
> Signed-off-by: "Hans J. Koch" <hjk@linutronix.de>
> ---
>  arch/arm/mach-tcc8k/Makefile        |    2 +-
>  arch/arm/mach-tcc8k/io.c            |   82 +++++++++++++++++++++++++++++++++++
>  arch/arm/plat-tcc/include/mach/io.h |   53 ++++++++++++++++++++++
>  3 files changed, 136 insertions(+), 1 deletions(-)
>  create mode 100644 arch/arm/mach-tcc8k/io.c
>  create mode 100644 arch/arm/plat-tcc/include/mach/io.h
> 
> diff --git a/arch/arm/mach-tcc8k/Makefile b/arch/arm/mach-tcc8k/Makefile
> index 5673868..09552e2 100644
> --- a/arch/arm/mach-tcc8k/Makefile
> +++ b/arch/arm/mach-tcc8k/Makefile
> @@ -3,5 +3,5 @@
>  #
>  
>  # Common support
> -obj-y += clock.o irq.o time.o
> +obj-y += clock.o irq.o time.o io.o
>  
> diff --git a/arch/arm/mach-tcc8k/io.c b/arch/arm/mach-tcc8k/io.c
> new file mode 100644
> index 0000000..1187fca
> --- /dev/null
> +++ b/arch/arm/mach-tcc8k/io.c
[...]
> +
> +/*
> + * Maps common IO regions for tcc8k.
> + *
> + */
> +void __init tcc8k_map_common_io(void)
> +{
> +	iotable_init(tcc8k_io_desc, ARRAY_SIZE(tcc8k_io_desc));
> +	local_flush_tlb_all();
> +	flush_cache_all();

Reviewing my own patch...
These last to "flush" lines are probably crap, at least unneeded.
I thought I threw them out, but somehow they crept in again.
Will test and fix.

Hans

> +}

  parent reply	other threads:[~2010-03-22 22:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 19:19 [PATCH 0/7] Add basic support for Telechips TCC8xxx SoCs Hans J. Koch
2010-03-22 19:21 ` [PATCH 01/07] Introduce plat-tcc Hans J. Koch
2010-03-22 19:23 ` [PATCH 02/07] Add clock framework for plat-tcc Hans J. Koch
2010-03-22 19:24 ` [PATCH 03/07] Introduce plat-tcc irq framework Hans J. Koch
2010-03-22 19:26 ` [PATCH 04/07] Add TCC8xxx system timer Hans J. Koch
2010-03-22 19:27 ` [PATCH 05/07] Basic IO mappings for mach-tcc8k Hans J. Koch
2010-03-22 21:13   ` Linus Walleij
2010-03-22 22:24     ` Hans J. Koch
2010-03-22 22:28   ` Hans J. Koch [this message]
2010-03-23  7:29   ` Linus Walleij
2010-03-23 10:15     ` Hans J. Koch
2010-03-26 17:28       ` Linus Walleij
2010-03-26 17:57         ` Hans J. Koch
2010-03-27  9:33           ` Linus Walleij
2010-03-27 15:26             ` Hans J. Koch
2010-03-22 19:29 ` [PATCH 06/07] Add common platform devices for TCC8xxx SoCs Hans J. Koch
2010-03-22 19:31 ` [PATCH 07/07] Add board support for Telechips TCC8000-SDK board Hans J. Koch

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=20100322222837.GB2547@local \
    --to=hjk@linutronix.de \
    --cc=linux-arm-kernel@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