Message ID | 20140113152011.GA15107@ulmo.nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Monday 13 January 2014, Thierry Reding wrote: > From ee1347c28bb7cb56a3c178321253e38de4bbc676 Mon Sep 17 00:00:00 2001 > From: Thierry Reding <treding@nvidia.com> > Date: Fri, 10 Jan 2014 17:12:07 +0100 > Subject: [PATCH] ARM: Remove redundant select AUTO_ZRELADDR > > ARCH_MXC depends on ARCH_MULTI_V4_V5 or ARCH_MULTI_V6_V7, both of which > can only be enabled when ARCH_MULTIPLATFORM is selected. If so, then the > AUTO_ZRELADDR will already be selected. > > Removing the selection of AUTO_ZRELADDR from ARCH_MXC has the additional > benefit of getting rid of the following Kconfig error: > > arch/arm/Kconfig:1965:error: recursive dependency detected! > arch/arm/Kconfig:1965: symbol ZBOOT_ROM depends on AUTO_ZRELADDR > arch/arm/Kconfig:2153: symbol AUTO_ZRELADDR is selected by ZBOOT_ROM > > Suggested-by: Arnd Bergmann <arnd@arndb.de> > Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Arnd Bergmann <arnd@arndb.de> I'm not sure through which tree this needs to go to make sure that both the arm-soc tree and rmk's arm tree are correct by themselves as well as when they get merged. Arnd
On Mon, Jan 13, 2014 at 04:24:07PM +0100, Arnd Bergmann wrote: > On Monday 13 January 2014, Thierry Reding wrote: > > From ee1347c28bb7cb56a3c178321253e38de4bbc676 Mon Sep 17 00:00:00 2001 > > From: Thierry Reding <treding@nvidia.com> > > Date: Fri, 10 Jan 2014 17:12:07 +0100 > > Subject: [PATCH] ARM: Remove redundant select AUTO_ZRELADDR > > > > ARCH_MXC depends on ARCH_MULTI_V4_V5 or ARCH_MULTI_V6_V7, both of which > > can only be enabled when ARCH_MULTIPLATFORM is selected. If so, then the > > AUTO_ZRELADDR will already be selected. > > > > Removing the selection of AUTO_ZRELADDR from ARCH_MXC has the additional > > benefit of getting rid of the following Kconfig error: > > > > arch/arm/Kconfig:1965:error: recursive dependency detected! > > arch/arm/Kconfig:1965: symbol ZBOOT_ROM depends on AUTO_ZRELADDR > > arch/arm/Kconfig:2153: symbol AUTO_ZRELADDR is selected by ZBOOT_ROM > > > > Suggested-by: Arnd Bergmann <arnd@arndb.de> > > Signed-off-by: Thierry Reding <treding@nvidia.com> > > Acked-by: Arnd Bergmann <arnd@arndb.de> > > I'm not sure through which tree this needs to go to make sure that > both the arm-soc tree and rmk's arm tree are correct by themselves > as well as when they get merged. The original patch went into the arm tree, so I suppose arm-soc isn't really impacted by this unless merged with the arm tree. Therefore I think if this goes in via Russell's tree it should be fine. Thierry
From ee1347c28bb7cb56a3c178321253e38de4bbc676 Mon Sep 17 00:00:00 2001 From: Thierry Reding <treding@nvidia.com> Date: Fri, 10 Jan 2014 17:12:07 +0100 Subject: [PATCH] ARM: Remove redundant select AUTO_ZRELADDR ARCH_MXC depends on ARCH_MULTI_V4_V5 or ARCH_MULTI_V6_V7, both of which can only be enabled when ARCH_MULTIPLATFORM is selected. If so, then the AUTO_ZRELADDR will already be selected. Removing the selection of AUTO_ZRELADDR from ARCH_MXC has the additional benefit of getting rid of the following Kconfig error: arch/arm/Kconfig:1965:error: recursive dependency detected! arch/arm/Kconfig:1965: symbol ZBOOT_ROM depends on AUTO_ZRELADDR arch/arm/Kconfig:2153: symbol AUTO_ZRELADDR is selected by ZBOOT_ROM Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thierry Reding <treding@nvidia.com> --- arch/arm/mach-imx/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index b0c6eb35a322..33567aa5880f 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -3,7 +3,6 @@ config ARCH_MXC select ARCH_REQUIRE_GPIOLIB select ARM_CPU_SUSPEND if PM select ARM_PATCH_PHYS_VIRT - select AUTO_ZRELADDR if !ZBOOT_ROM select CLKSRC_MMIO select COMMON_CLK select GENERIC_ALLOCATOR -- 1.8.4.2