Fix select-induced Kconfig warning for ZBOOT_ROM
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Jan 2014 11:59:44 +0000 (11:59 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jan 2014 16:42:05 +0000 (16:42 +0000)
commit1096813131dcfd7d86f156c14b43eb0fdbc090b6
treed4ff4b92e33b9f49db0f4508e57b16f26f555e44
parent753d12434da3e9adae73c8fbe2b5eae84f4cfff8
Fix select-induced Kconfig warning for ZBOOT_ROM

warning: (ARCH_MULTIPLATFORM && ARCH_CLPS711X && ARCH_PXA &&
 SOC_EXYNOS5440 && ARCH_EMEV2) selects AUTO_ZRELADDR which
 has unmet direct dependencies (!ZBOOT_ROM)

This is because it's possible to have ZBOOT_ROM enabled, but at the
same time have another option enabled which selects AUTO_ZRELADDR
overriding the !ZBOOT_ROM dependency.  Fix this by reversing the
dependencies between ZBOOT_ROM and the options which depend on
!ZBOOT_ROM.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mach-imx/Kconfig