All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux-omap@vger.kernel.org, linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH 0/4] Runtime constants: define (some) OMAP address bases at	runtime rather than compile time for multiboot
Date: Tue, 20 Nov 2007 07:24:48 +0100	[thread overview]
Message-ID: <47427DB0.8020306@googlemail.com> (raw)
In-Reply-To: <20071116232159.713389488@pwsan.com>

Paul Walmsley wrote:
> The OMAP2/3 kernel builds define several preprocessor macros for
> module base virtual addresses (e.g., OMAP2_CTRL_BASE).  These macros
> are substituted with virtual addresses at compile-time, depending on
> what OMAP architecture the kernel is built for.  This technique is
> simple and works well for single-OMAP kernels, but cannot be used to
> build a multi-OMAP kernel.
> 
> So, convert the users of these defines to use runtime-computed global
> variables where possible.  Where not possible (e.g., in static initializers), 
> use chip-specific preprocessor macros.  The global variables are set up
> early in the board-*.c files in the map_io() code, before almost everything 
> else.
> 
> This series must be applied after the SRAM patcher series posted earlier
> this week, since it relies on that code to set up register addresses in
> the assembly-language code at runtime.
> 
> This series converts SDRC, SMS, and System Control Module accesses.  
> Forthcoming patch series will convert PRCM and 32K sync timer register
> access.
> 
> Boot-tested on N800 and 3430SDP.  If someone out there could test on 2430SDP,
> that would be much appreciated.  Some day I'll get my hands on a  2430SDP :-) 
> 
> Comments welcome,

Patch 1/4 and 3/4 of this series still apply, but 2/4 and 4/4 have 
rejects. Could you check?

Many thanks

Dirk

  parent reply	other threads:[~2007-11-20  6:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 23:21 [PATCH 0/4] Runtime constants: define (some) OMAP address bases at runtime rather than compile time for multiboot Paul Walmsley
2007-11-16 23:22 ` [PATCH 1/4] Runtime constants: introduce omap2_set_globals_*() Paul Walmsley
2007-11-16 23:22 ` [PATCH 2/4] Runtime constants: use runtime-computed SDRC base Paul Walmsley
2007-11-16 23:22 ` [PATCH 3/4] Runtime constants: use runtime-computed SMS base Paul Walmsley
2007-11-16 23:22 ` [PATCH 4/4] Runtime constants: use runtime-computed system control module base Paul Walmsley
2007-11-17  0:12 ` [PATCH 0/4] Runtime constants: define (some) OMAP address bases at runtime rather than compile time for multiboot Kevin Hilman
2007-11-20  6:24 ` Dirk Behme [this message]
2007-11-21  0:36   ` Paul Walmsley

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=47427DB0.8020306@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.