* CONFIG_ZBOOT_ROM_TEXT and CONFIG_ZBOOT_ROM_BSS in defconfig
@ 2016-05-17 15:56 Mason
2016-05-18 8:30 ` Mason
0 siblings, 1 reply; 3+ messages in thread
From: Mason @ 2016-05-17 15:56 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
When reviewing my platform's defconfig, these two entries jumped out:
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
I found it odd that they would appear in the defconfig, since I don't
care about them, and left them at their default value -- as most
platforms seem to do:
$ git grep CONFIG_ZBOOT_ROM_TEXT=0x0 arch/arm/configs | wc -l
83
# Compressed boot loader in ROM. Yes, we really want to ask about
# 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"
It seems 'make savedefconfig' doesn't consider 0 and 0x0 to be equivalent.
I can submit a patch changing the default from 0 to 0x0, i.e.
no functional change. The two entries would then disappear
from defconfigs.
Arnd didn't seem to like the idea. How do others feel?
Regards.
^ permalink raw reply [flat|nested] 3+ messages in thread
* CONFIG_ZBOOT_ROM_TEXT and CONFIG_ZBOOT_ROM_BSS in defconfig
2016-05-17 15:56 CONFIG_ZBOOT_ROM_TEXT and CONFIG_ZBOOT_ROM_BSS in defconfig Mason
@ 2016-05-18 8:30 ` Mason
2016-05-18 17:38 ` Joshua Clayton
0 siblings, 1 reply; 3+ messages in thread
From: Mason @ 2016-05-18 8:30 UTC (permalink / raw)
To: linux-arm-kernel
On 17/05/2016 17:56, Mason wrote:
> I can submit a patch changing the default from 0 to 0x0, i.e.
> no functional change. The two entries would then disappear
> from defconfigs.
Specifically, this is what I meant:
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 70764838dfcc..6831c46a3672 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1823,7 +1823,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
@@ -1834,7 +1834,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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* CONFIG_ZBOOT_ROM_TEXT and CONFIG_ZBOOT_ROM_BSS in defconfig
2016-05-18 8:30 ` Mason
@ 2016-05-18 17:38 ` Joshua Clayton
0 siblings, 0 replies; 3+ messages in thread
From: Joshua Clayton @ 2016-05-18 17:38 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, 18 May 2016 10:30:17 +0200
Mason <slash.tmp@free.fr> wrote:
> On 17/05/2016 17:56, Mason wrote:
>
> > I can submit a patch changing the default from 0 to 0x0, i.e.
> > no functional change. The two entries would then disappear
> > from defconfigs.
>
> Specifically, this is what I meant:
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 70764838dfcc..6831c46a3672 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1823,7 +1823,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
> @@ -1834,7 +1834,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
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
If the goal is to get rid of the 0x0's in the defconfigs, would it not
be just as effective to drop those so they land at "0"?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-18 17:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 15:56 CONFIG_ZBOOT_ROM_TEXT and CONFIG_ZBOOT_ROM_BSS in defconfig Mason
2016-05-18 8:30 ` Mason
2016-05-18 17:38 ` Joshua Clayton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).