lkml.org 
[lkml]   [2011]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: mutually exclude ZBOOT_ROM and AUTO_ZRELADDR
On Fri, 14 Oct 2011, Arnd Bergmann wrote:

> 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

Ah, right.

OK, like I said I'm reworking the whole thing, so the cheapest fix for
the time being is "select AUTO_ZRELADDR if !ZBOOT_ROM".


Nicolas


\
 
 \ /
  Last update: 2011-10-14 20:11    [W:0.036 / U:5.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site