Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 8984/1: Kconfig: set default ZBOOT_ROM_TEXT/BSS value to 0x0

ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS are defined as 'hex' but had a default
of "0". Kconfig will helpfully expand a text entry of 0 to 0x0 but
because this is not the same as the default value it was treated as
being explicitly set when running 'make savedefconfig' so most arm
defconfigs have CONFIG_ZBOOT_ROM_TEXT=0x0 and CONFIG_ZBOOT_ROM_BSS=0x0.

Change the default to 0x0 which will mean next time the defconfigs are
re-generated the spurious config entries will be removed.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

authored by

Chris Packham and committed by
Russell King
39c3e304 df2fbf5b

+2 -2
+2 -2
arch/arm/Kconfig
··· 1749 1749 # TEXT and BSS so we preserve their values in the config files. 1750 1750 config ZBOOT_ROM_TEXT 1751 1751 hex "Compressed ROM boot loader base address" 1752 - default "0" 1752 + default 0x0 1753 1753 help 1754 1754 The physical address at which the ROM-able zImage is to be 1755 1755 placed in the target. Platforms which normally make use of ··· 1760 1760 1761 1761 config ZBOOT_ROM_BSS 1762 1762 hex "Compressed ROM boot loader BSS address" 1763 - default "0" 1763 + default 0x0 1764 1764 help 1765 1765 The base address of an area of read/write memory in the target 1766 1766 for the ROM-able zImage which must be available while the