aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-01-01 06:59:44 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-01-21 11:42:05 -0500
commit1096813131dcfd7d86f156c14b43eb0fdbc090b6 (patch)
treed4ff4b92e33b9f49db0f4508e57b16f26f555e44 /arch/arm/Kconfig
parent753d12434da3e9adae73c8fbe2b5eae84f4cfff8 (diff)
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>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 8c064a3e43db..f219c30eb4e1 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1945,6 +1945,7 @@ config ZBOOT_ROM_BSS
1945config ZBOOT_ROM 1945config ZBOOT_ROM
1946 bool "Compressed boot loader in ROM/flash" 1946 bool "Compressed boot loader in ROM/flash"
1947 depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS 1947 depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1948 depends on !ARM_APPENDED_DTB && !XIP_KERNEL && !AUTO_ZRELADDR
1948 help 1949 help
1949 Say Y here if you intend to execute your compressed kernel image 1950 Say Y here if you intend to execute your compressed kernel image
1950 (zImage) directly from ROM or flash. If unsure, say N. 1951 (zImage) directly from ROM or flash. If unsure, say N.
@@ -1980,7 +1981,7 @@ endchoice
1980 1981
1981config ARM_APPENDED_DTB 1982config ARM_APPENDED_DTB
1982 bool "Use appended device tree blob to zImage (EXPERIMENTAL)" 1983 bool "Use appended device tree blob to zImage (EXPERIMENTAL)"
1983 depends on OF && !ZBOOT_ROM 1984 depends on OF
1984 help 1985 help
1985 With this option, the boot code will look for a device tree binary 1986 With this option, the boot code will look for a device tree binary
1986 (DTB) appended to zImage 1987 (DTB) appended to zImage
@@ -2068,7 +2069,7 @@ endchoice
2068 2069
2069config XIP_KERNEL 2070config XIP_KERNEL
2070 bool "Kernel Execute-In-Place from ROM" 2071 bool "Kernel Execute-In-Place from ROM"
2071 depends on !ZBOOT_ROM && !ARM_LPAE && !ARCH_MULTIPLATFORM 2072 depends on !ARM_LPAE && !ARCH_MULTIPLATFORM
2072 help 2073 help
2073 Execute-In-Place allows the kernel to run from non-volatile storage 2074 Execute-In-Place allows the kernel to run from non-volatile storage
2074 directly addressable by the CPU, such as NOR flash. This saves RAM 2075 directly addressable by the CPU, such as NOR flash. This saves RAM
@@ -2131,7 +2132,6 @@ config CRASH_DUMP
2131 2132
2132config AUTO_ZRELADDR 2133config AUTO_ZRELADDR
2133 bool "Auto calculation of the decompressed kernel image address" 2134 bool "Auto calculation of the decompressed kernel image address"
2134 depends on !ZBOOT_ROM
2135 help 2135 help
2136 ZRELADDR is the physical address where the decompressed kernel 2136 ZRELADDR is the physical address where the decompressed kernel
2137 image will be placed. If AUTO_ZRELADDR is selected, the address 2137 image will be placed. If AUTO_ZRELADDR is selected, the address