Skip to content

Commit

Permalink
ARM: 8984/1: Kconfig: set default ZBOOT_ROM_TEXT/BSS value to 0x0
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
cpackham-atlnz authored and Russell King committed Jun 13, 2020
1 parent df2fbf5 commit 39c3e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ config DEPRECATED_PARAM_STRUCT
# TEXT and BSS so we preserve their values in the config files.
config ZBOOT_ROM_TEXT
hex "Compressed ROM boot loader base address"
default "0"
default 0x0
help
The physical address at which the ROM-able zImage is to be
placed in the target. Platforms which normally make use of
Expand All @@ -1760,7 +1760,7 @@ config ZBOOT_ROM_TEXT

config ZBOOT_ROM_BSS
hex "Compressed ROM boot loader BSS address"
default "0"
default 0x0
help
The base address of an area of read/write memory in the target
for the ROM-able zImage which must be available while the
Expand Down

0 comments on commit 39c3e30

Please sign in to comment.