linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm/tegra: select AUTO_ZRELADDR by default
Date: Fri, 14 Oct 2011 08:15:00 +0100	[thread overview]
Message-ID: <20111014071500.GP21648@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAOesGMiuzF47kdmaaFny9Fg1ieox6a75tMFfLRAptvDxz_QPMg@mail.gmail.com>

On Thu, Oct 13, 2011 at 04:38:46PM -0700, Olof Johansson wrote:
> Hi,
> 
> On Wed, Sep 28, 2011 at 10:50 AM, Stephen Warren <swarren@nvidia.com> wrote:
> > Peter De Schrijver wrote at Tuesday, September 27, 2011 7:08 PM:
> >> This patch causes the kernel uncompressor to determine the physical address
> >> of the SDRAM at runtime. This allows the kernel to boot on both tegra20 and
> >> tegra30 even though SDRAM is at different physical addresses on both SoCs.
> >>
> >> Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
> >
> > An alternative would be to simply add that config option to the relevant
> > defconfig/.config file. I see both cases in use in the kernel. Still, the
> > code change this enables looks fine to just turn on all the time, and will
> > be needed for Tegra30 support, so I'm fine just selecting it as you have.
> >
> > Acked-by: Stephen Warren <swarren@nvidia.com>
> >
> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> >> index 472a7f8..474737b 100644
> >> --- a/arch/arm/Kconfig
> >> +++ b/arch/arm/Kconfig
> >> @@ -596,6 +596,7 @@ config ARCH_TEGRA
> >> ? ? ? select HAVE_CLK
> >> ? ? ? select HAVE_SCHED_CLOCK
> >> ? ? ? select ARCH_HAS_CPUFREQ
> >> + ? ? select AUTO_ZRELADDR
> >> ? ? ? help
> >> ? ? ? ? This enables support for NVIDIA Tegra based systems (Tegra APX,
> >> ? ? ? ? Tegra 6xx and Tegra 2 series).
> >
> > P.S. Since this patch relates to Tegra, you should CC the Tegra maintainers
> > and list; I've done so on this message. I also added Arnd; he might take
> > this through the arm-soc tree.
> 
> While it does touch a file outside of arch/arm/mach-tegra, it's for
> the tegra options and is not likely to cause conflicts upstream. I'll
> apply it with the rest of tegra patches for 3.2 here.
> 
> So: Applied, thanks.

I'll point out that this makes Tegra incompatible with ZBOOT_ROM, which
can still be enabled.  ZBOOT_ROM=y AUTO_ZRELADDR=y is an invalid
configuration at runtime.

  reply	other threads:[~2011-10-14  7:15 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-28  1:07 [PATCH] arm/tegra: select AUTO_ZRELADDR by default Peter De Schrijver
2011-09-28 17:50 ` Stephen Warren
2011-10-13 23:38   ` Olof Johansson
2011-10-14  7:15     ` Russell King - ARM Linux [this message]
2011-10-14 14:45       ` Stephen Warren
2011-10-14 15:29         ` Arnd Bergmann
2011-10-14 16:12           ` Stephen Warren
2011-10-14 16:27             ` Arnd Bergmann
2011-10-14 16:44               ` Olof Johansson
2011-10-14 18:03                 ` Nicolas Pitre
2011-10-14 19:20                 ` Russell King - ARM Linux
2011-10-14 20:06                   ` Nicolas Pitre
2011-10-14 20:12                     ` Russell King - ARM Linux
2011-10-14 20:16                       ` Stephen Warren
2011-10-14 20:19                         ` Russell King - ARM Linux
2011-10-15 15:29                           ` Tixy
2011-10-14 20:26                       ` Nicolas Pitre
2011-10-14 20:14                     ` Stephen Warren
2011-10-14 20:45                       ` Nicolas Pitre
2011-10-14 21:01                         ` Stephen Warren
2011-10-14 21:28                           ` Nicolas Pitre
2011-10-14 22:06                           ` Rob Herring
2011-10-14 18:01               ` Nicolas Pitre
2011-10-14 19:20                 ` Russell King - ARM Linux
2011-10-14 20:14                   ` Nicolas Pitre
2011-10-14 20:17                     ` Russell King - ARM Linux
2011-10-14 20:31                       ` Nicolas Pitre
2011-10-14 21:13                         ` Russell King - ARM Linux
2011-10-14 22:26                           ` Nicolas Pitre
2011-10-14 17:53             ` Nicolas Pitre
2011-10-14 17:58               ` Olof Johansson
2011-10-14 18:00                 ` Olof Johansson
2011-10-14 15:59       ` [PATCH] ARM: mutually exclude ZBOOT_ROM and AUTO_ZRELADDR Olof Johansson
2011-10-14 16:29         ` Arnd Bergmann
2011-10-14 18:07           ` Nicolas Pitre
2011-10-14 18:04         ` Nicolas Pitre
  -- strict thread matches above, loose matches on Subject: below --
2011-10-03 13:06 [PATCH v6 0/3] Add support for tegra2 based ventana board Peter De Schrijver
2011-10-03 13:06 ` [PATCH] arm/tegra: select AUTO_ZRELADDR by default Peter De Schrijver
2011-10-03 13:13   ` Peter De Schrijver
2011-10-03 16:22     ` Stephen Warren
2011-10-04  8:51       ` Peter De Schrijver
2011-09-22 13:27 Peter De Schrijver
2011-09-22 16:26 ` Stephen Warren
2011-09-22 17:58   ` Peter De Schrijver
2011-09-22 18:06     ` Colin Cross

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=20111014071500.GP21648@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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;
as well as URLs for NNTP newsgroup(s).