提交 10968131 编写于 作者: R Russell King

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: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 753d1243
...@@ -1945,6 +1945,7 @@ config ZBOOT_ROM_BSS ...@@ -1945,6 +1945,7 @@ config ZBOOT_ROM_BSS
config ZBOOT_ROM config ZBOOT_ROM
bool "Compressed boot loader in ROM/flash" bool "Compressed boot loader in ROM/flash"
depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
depends on !ARM_APPENDED_DTB && !XIP_KERNEL && !AUTO_ZRELADDR
help help
Say Y here if you intend to execute your compressed kernel image Say Y here if you intend to execute your compressed kernel image
(zImage) directly from ROM or flash. If unsure, say N. (zImage) directly from ROM or flash. If unsure, say N.
...@@ -1980,7 +1981,7 @@ endchoice ...@@ -1980,7 +1981,7 @@ endchoice
config ARM_APPENDED_DTB config ARM_APPENDED_DTB
bool "Use appended device tree blob to zImage (EXPERIMENTAL)" bool "Use appended device tree blob to zImage (EXPERIMENTAL)"
depends on OF && !ZBOOT_ROM depends on OF
help help
With this option, the boot code will look for a device tree binary With this option, the boot code will look for a device tree binary
(DTB) appended to zImage (DTB) appended to zImage
...@@ -2068,7 +2069,7 @@ endchoice ...@@ -2068,7 +2069,7 @@ endchoice
config XIP_KERNEL config XIP_KERNEL
bool "Kernel Execute-In-Place from ROM" bool "Kernel Execute-In-Place from ROM"
depends on !ZBOOT_ROM && !ARM_LPAE && !ARCH_MULTIPLATFORM depends on !ARM_LPAE && !ARCH_MULTIPLATFORM
help help
Execute-In-Place allows the kernel to run from non-volatile storage Execute-In-Place allows the kernel to run from non-volatile storage
directly addressable by the CPU, such as NOR flash. This saves RAM directly addressable by the CPU, such as NOR flash. This saves RAM
...@@ -2131,7 +2132,6 @@ config CRASH_DUMP ...@@ -2131,7 +2132,6 @@ config CRASH_DUMP
config AUTO_ZRELADDR config AUTO_ZRELADDR
bool "Auto calculation of the decompressed kernel image address" bool "Auto calculation of the decompressed kernel image address"
depends on !ZBOOT_ROM
help help
ZRELADDR is the physical address where the decompressed kernel ZRELADDR is the physical address where the decompressed kernel
image will be placed. If AUTO_ZRELADDR is selected, the address image will be placed. If AUTO_ZRELADDR is selected, the address
......
...@@ -3,7 +3,6 @@ config ARCH_MXC ...@@ -3,7 +3,6 @@ config ARCH_MXC
select ARCH_REQUIRE_GPIOLIB select ARCH_REQUIRE_GPIOLIB
select ARM_CPU_SUSPEND if PM select ARM_CPU_SUSPEND if PM
select ARM_PATCH_PHYS_VIRT select ARM_PATCH_PHYS_VIRT
select AUTO_ZRELADDR if !ZBOOT_ROM
select CLKSRC_MMIO select CLKSRC_MMIO
select COMMON_CLK select COMMON_CLK
select GENERIC_ALLOCATOR select GENERIC_ALLOCATOR
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册