All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
To: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Cc: Russell King - ARM Linux
	<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
	swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
	pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH] ARM: mutually exclude ZBOOT_ROM and AUTO_ZRELADDR
Date: Fri, 14 Oct 2011 18:29:48 +0200	[thread overview]
Message-ID: <201110141829.48634.arnd@arndb.de> (raw)
In-Reply-To: <1318607945-6807-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>

On Friday 14 October 2011, Olof Johansson wrote:
> This way platforms that want it can select AUTO_ZRELADDR without issues caused by
> someone manually also enabling ZBOOT_ROM.
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 82973b2..2ad58e8 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1814,6 +1814,7 @@ config ZBOOT_ROM_BSS
>  config ZBOOT_ROM
>  	bool "Compressed boot loader in ROM/flash"
>  	depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
> +	depends on !AUTO_ZRELADDR
>  	help
>  	  Say Y here if you intend to execute your compressed kernel image
>  	  (zImage) directly from ROM or flash.  If unsure, say N.

Unfortunately, you cannot have it both ways:

arnd@ocdc-kvm:~/linux-arm$ make O=obj-tmp CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm  -sj20  menuconfig
arch/arm/Kconfig:1761:error: recursive dependency detected!
arch/arm/Kconfig:1761:  symbol ZBOOT_ROM depends on AUTO_ZRELADDR
arch/arm/Kconfig:1899:  symbol AUTO_ZRELADDR depends on ZBOOT_ROM

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mutually exclude ZBOOT_ROM and AUTO_ZRELADDR
Date: Fri, 14 Oct 2011 18:29:48 +0200	[thread overview]
Message-ID: <201110141829.48634.arnd@arndb.de> (raw)
In-Reply-To: <1318607945-6807-1-git-send-email-olof@lixom.net>

On Friday 14 October 2011, Olof Johansson wrote:
> This way platforms that want it can select AUTO_ZRELADDR without issues caused by
> someone manually also enabling ZBOOT_ROM.
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 82973b2..2ad58e8 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1814,6 +1814,7 @@ config ZBOOT_ROM_BSS
>  config ZBOOT_ROM
>  	bool "Compressed boot loader in ROM/flash"
>  	depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
> +	depends on !AUTO_ZRELADDR
>  	help
>  	  Say Y here if you intend to execute your compressed kernel image
>  	  (zImage) directly from ROM or flash.  If unsure, say N.

Unfortunately, you cannot have it both ways:

arnd at ocdc-kvm:~/linux-arm$ make O=obj-tmp CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm  -sj20  menuconfig
arch/arm/Kconfig:1761:error: recursive dependency detected!
arch/arm/Kconfig:1761:  symbol ZBOOT_ROM depends on AUTO_ZRELADDR
arch/arm/Kconfig:1899:  symbol AUTO_ZRELADDR depends on ZBOOT_ROM

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: Olof Johansson <olof@lixom.net>
Cc: "Russell King - ARM Linux" <linux@arm.linux.org.uk>,
	linux-arm-kernel@lists.infradead.org,
	linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
	ccross@android.com, swarren@nvidia.com, pdeschrijver@nvidia.com
Subject: Re: [PATCH] ARM: mutually exclude ZBOOT_ROM and AUTO_ZRELADDR
Date: Fri, 14 Oct 2011 18:29:48 +0200	[thread overview]
Message-ID: <201110141829.48634.arnd@arndb.de> (raw)
In-Reply-To: <1318607945-6807-1-git-send-email-olof@lixom.net>

On Friday 14 October 2011, Olof Johansson wrote:
> This way platforms that want it can select AUTO_ZRELADDR without issues caused by
> someone manually also enabling ZBOOT_ROM.
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 82973b2..2ad58e8 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1814,6 +1814,7 @@ config ZBOOT_ROM_BSS
>  config ZBOOT_ROM
>  	bool "Compressed boot loader in ROM/flash"
>  	depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
> +	depends on !AUTO_ZRELADDR
>  	help
>  	  Say Y here if you intend to execute your compressed kernel image
>  	  (zImage) directly from ROM or flash.  If unsure, say N.

Unfortunately, you cannot have it both ways:

arnd@ocdc-kvm:~/linux-arm$ make O=obj-tmp CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm  -sj20  menuconfig
arch/arm/Kconfig:1761:error: recursive dependency detected!
arch/arm/Kconfig:1761:  symbol ZBOOT_ROM depends on AUTO_ZRELADDR
arch/arm/Kconfig:1899:  symbol AUTO_ZRELADDR depends on ZBOOT_ROM

	Arnd

  parent reply	other threads:[~2011-10-14 16:29 UTC|newest]

Thread overview: 99+ 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  1:07 ` Peter De Schrijver
     [not found] ` <1317172068-14872-1-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-09-28 17:50   ` Stephen Warren
2011-09-28 17:50     ` Stephen Warren
2011-09-28 17:50     ` Stephen Warren
     [not found]     ` <74CDBE0F657A3D45AFBB94109FB122FF173955580F-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-13 23:38       ` Olof Johansson
2011-10-13 23:38         ` Olof Johansson
2011-10-13 23:38         ` Olof Johansson
     [not found]         ` <CAOesGMiuzF47kdmaaFny9Fg1ieox6a75tMFfLRAptvDxz_QPMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-14  7:15           ` Russell King - ARM Linux
2011-10-14  7:15             ` Russell King - ARM Linux
2011-10-14  7:15             ` Russell King - ARM Linux
2011-10-14 14:45             ` Stephen Warren
2011-10-14 14:45               ` Stephen Warren
     [not found]               ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A260-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-14 15:29                 ` Arnd Bergmann
2011-10-14 15:29                   ` Arnd Bergmann
2011-10-14 15:29                   ` Arnd Bergmann
     [not found]                   ` <201110141729.41515.arnd-r2nGTMty4D4@public.gmane.org>
2011-10-14 16:12                     ` Stephen Warren
2011-10-14 16:12                       ` Stephen Warren
2011-10-14 16:12                       ` Stephen Warren
     [not found]                       ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A283-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-14 16:27                         ` Arnd Bergmann
2011-10-14 16:27                           ` Arnd Bergmann
2011-10-14 16:27                           ` Arnd Bergmann
     [not found]                           ` <201110141827.53906.arnd-r2nGTMty4D4@public.gmane.org>
2011-10-14 16:44                             ` Olof Johansson
2011-10-14 16:44                               ` Olof Johansson
2011-10-14 16:44                               ` Olof Johansson
     [not found]                               ` <CAOesGMgDwMeVmwo1WJ3tU+ZdjCSJ6F8mY42e_KwTmzAkGQsqmg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-14 18:03                                 ` Nicolas Pitre
2011-10-14 18:03                                   ` Nicolas Pitre
2011-10-14 18:03                                   ` Nicolas Pitre
2011-10-14 19:20                               ` Russell King - ARM Linux
2011-10-14 19:20                                 ` Russell King - ARM Linux
     [not found]                                 ` <20111014192011.GS21648-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-10-14 20:06                                   ` Nicolas Pitre
2011-10-14 20:06                                     ` Nicolas Pitre
2011-10-14 20:06                                     ` Nicolas Pitre
2011-10-14 20:12                                     ` Russell King - ARM Linux
2011-10-14 20:12                                       ` Russell King - ARM Linux
     [not found]                                       ` <20111014201223.GV21648-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-10-14 20:16                                         ` Stephen Warren
2011-10-14 20:16                                           ` Stephen Warren
2011-10-14 20:16                                           ` Stephen Warren
2011-10-14 20:19                                           ` Russell King - ARM Linux
2011-10-14 20:19                                             ` Russell King - ARM Linux
2011-10-15 15:29                                             ` Tixy
2011-10-15 15:29                                               ` Tixy
2011-10-15 15:29                                               ` Tixy
2011-10-14 20:26                                         ` Nicolas Pitre
2011-10-14 20:26                                           ` Nicolas Pitre
2011-10-14 20:26                                           ` Nicolas Pitre
2011-10-14 20:14                                     ` Stephen Warren
2011-10-14 20:14                                       ` Stephen Warren
     [not found]                                       ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A362-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-14 20:45                                         ` Nicolas Pitre
2011-10-14 20:45                                           ` Nicolas Pitre
2011-10-14 20:45                                           ` Nicolas Pitre
     [not found]                                           ` <alpine.LFD.2.02.1110141631530.17040-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2011-10-14 21:01                                             ` Stephen Warren
2011-10-14 21:01                                               ` Stephen Warren
2011-10-14 21:01                                               ` Stephen Warren
2011-10-14 21:28                                               ` Nicolas Pitre
2011-10-14 21:28                                                 ` Nicolas Pitre
2011-10-14 21:28                                                 ` Nicolas Pitre
     [not found]                                               ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A3A6-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-14 22:06                                                 ` Rob Herring
2011-10-14 22:06                                                   ` Rob Herring
2011-10-14 22:06                                                   ` Rob Herring
2011-10-14 18:01                             ` Nicolas Pitre
2011-10-14 18:01                               ` Nicolas Pitre
2011-10-14 18:01                               ` Nicolas Pitre
2011-10-14 19:20                               ` Russell King - ARM Linux
2011-10-14 19:20                                 ` Russell King - ARM Linux
2011-10-14 19:20                                 ` Russell King - ARM Linux
     [not found]                                 ` <20111014192057.GT21648-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-10-14 20:14                                   ` Nicolas Pitre
2011-10-14 20:14                                     ` Nicolas Pitre
2011-10-14 20:14                                     ` Nicolas Pitre
2011-10-14 20:17                                     ` Russell King - ARM Linux
2011-10-14 20:17                                       ` Russell King - ARM Linux
     [not found]                                       ` <20111014201737.GW21648-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-10-14 20:31                                         ` Nicolas Pitre
2011-10-14 20:31                                           ` Nicolas Pitre
2011-10-14 20:31                                           ` Nicolas Pitre
2011-10-14 21:13                                           ` Russell King - ARM Linux
2011-10-14 21:13                                             ` Russell King - ARM Linux
     [not found]                                             ` <20111014211311.GY21648-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-10-14 22:26                                               ` Nicolas Pitre
2011-10-14 22:26                                                 ` Nicolas Pitre
2011-10-14 22:26                                                 ` Nicolas Pitre
2011-10-14 17:53                         ` Nicolas Pitre
2011-10-14 17:53                           ` Nicolas Pitre
2011-10-14 17:53                           ` Nicolas Pitre
     [not found]                           ` <alpine.LFD.2.02.1110141348270.17040-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2011-10-14 17:58                             ` Olof Johansson
2011-10-14 17:58                               ` Olof Johansson
2011-10-14 17:58                               ` Olof Johansson
     [not found]                               ` <CAOesGMhm_dD=9dyMWQRfH5AXH4AE42+4ckNwhnMUGaBJEHsumg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-14 18:00                                 ` Olof Johansson
2011-10-14 18:00                                   ` 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 15:59               ` Olof Johansson
     [not found]               ` <1318607945-6807-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
2011-10-14 16:29                 ` Arnd Bergmann [this message]
2011-10-14 16:29                   ` Arnd Bergmann
2011-10-14 16:29                   ` Arnd Bergmann
     [not found]                   ` <201110141829.48634.arnd-r2nGTMty4D4@public.gmane.org>
2011-10-14 18:07                     ` Nicolas Pitre
2011-10-14 18:07                       ` Nicolas Pitre
2011-10-14 18:07                       ` Nicolas Pitre
2011-10-14 18:04                 ` Nicolas Pitre
2011-10-14 18:04                   ` Nicolas Pitre
2011-10-14 18:04                   ` Nicolas Pitre

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=201110141829.48634.arnd@arndb.de \
    --to=arnd-r2ngtmty4d4@public.gmane.org \
    --cc=ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
    --cc=pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.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 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.