Commit ab1d490a authored by Russell King's avatar Russell King

[ARM] Fix ZBOOT_ROM configuration

Fix ZBOOT_ROM options help texts to describe what's going on there
bettwe.

Make ZBOOT_ROM depend on ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS being
different values.  This allows all*config-created configurations
to work where ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS were both zero.
parent a6eb52bc
...@@ -322,26 +322,35 @@ config FIQ ...@@ -322,26 +322,35 @@ config FIQ
# Compressed boot loader in ROM. Yes, we really want to ask about # Compressed boot loader in ROM. Yes, we really want to ask about
# TEXT and BSS so we preserve their values in the config files. # TEXT and BSS so we preserve their values in the config files.
config ZBOOT_ROM
bool "Compressed boot loader in ROM/flash"
help
Say Y here if you intend to execute your compressed kernel image (zImage)
directly from ROM or flash. If unsure, say N.
config ZBOOT_ROM_TEXT config ZBOOT_ROM_TEXT
hex "Compressed ROM boot loader base address" hex "Compressed ROM boot loader base address"
default "0" default "0"
help help
The base address for zImage. Unless you have special requirements, you The physical address at which the ROM-able zImage is to be
should not change this value. placed in the target. Platforms which normally make use of
ROM-able zImage formats normally set this to a suitable
value in their defconfig file.
If ZBOOT_ROM is not enabled, this has no effect.
config ZBOOT_ROM_BSS config ZBOOT_ROM_BSS
hex "Compressed ROM boot loader BSS address" hex "Compressed ROM boot loader BSS address"
default "0" default "0"
help help
The base address of 64KiB of read/write memory, which must be available The base address of 64KiB of read/write memory in the target
while the decompressor is running. Unless you have special requirements, for the ROM-able zImage, which must be available while the
you should not change this value. decompressor is running. Platforms which normally make use of
ROM-able zImage formats normally set this to a suitable
value in their defconfig file.
If ZBOOT_ROM is not enabled, this has no effect.
config ZBOOT_ROM
bool "Compressed boot loader in ROM/flash"
depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
help
Say Y here if you intend to execute your compressed kernel image
(zImage) directly from ROM or flash. If unsure, say N.
config XIP_KERNEL config XIP_KERNEL
bool "Kernel Execute-In-Place from ROM" bool "Kernel Execute-In-Place from ROM"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment