common, kconfig: Fix defaut value of BOOTSTAGE_STASH_SIZE
PATCH 1/1 common, kconfig: Fix defaut value of BOOTSTAGE_STASH_SIZE
The default value of BOOTSTAGE_STASH_SIZE should be set to hexadecimal, but an integer value is set. This fixes the BOOTSTAGE_STASH_SIZE number from hexadecimal to integer.
--- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/Kconfig +1 -1
@@ -90,7 +90,7 @@ config BOOTSTAGE_STASH_ADDR config BOOTSTAGE_STASH_SIZE hex "Size of boot timing stash region" - default 4096 + default 0x1000 help This should be large enough to hold the bootstage stash. A value of 4096 (4KiB) is normally plenty.
Signature · 1 line
2.11.0
PATCH 1/1 common, kconfig: Fix defaut value of BOOTSTAGE_STASH_SIZE
Dear Nobuhiro,
Quoted 3 lines · In message <[email protected]> you wrote:
The default value of
BOOTSTAGE_STASH_SIZEshould be set to hexadecimal, but an integer value is set. This fixes theBOOTSTAGE_STASH_SIZEnumber from hexadecimal to integer.
...
common/Kconfig config BOOTSTAGE_STASH_ADDR · line 96
Quoted 5 lines
common/Kconfig +1
-1- default 4096 + default 0x1000 help This should be large enough to hold the bootstage stash. A value of 4096 (4KiB) is normally plenty.
Would it make sense to also fix the help message, and maybe even to add a note to the help message that this should be a hex number?
Thanks.
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Always borrow money from a pessimist; they don't expect to be paid back.
PATCH 1/1 common, kconfig: Fix defaut value of BOOTSTAGE_STASH_SIZE
Quoted 7 lines · Wolfgang Denk
Dear Nobuhiro,
Quoted 3 lines · In message <[email protected]> you wrote:
The default value of
BOOTSTAGE_STASH_SIZEshould be set to hexadecimal, but an integer value is set. This fixes theBOOTSTAGE_STASH_SIZEnumber from hexadecimal to integer....
Quoted 8 lines
common/Kconfig config BOOTSTAGE_STASH_ADDR · line 96
Quoted 5 lines
common/Kconfig +1
-1- default 4096 + default 0x1000 help This should be large enough to hold the bootstage stash. A value of 4096 (4KiB) is normally plenty.Would it make sense to also fix the help message, and maybe even to add a note to the help message that this should be a hex number?
Yes, perhaps s/4096/0x1000/ in the help message will be clear enough since Kconfig tooling will take care of saying "THIS IS HEX!" somwwhere relevant. Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170405/f30d03e3/attachment.sig>
Quoted 5 lines · Nobuhiro Iwamatsu
The default value of
BOOTSTAGE_STASH_SIZEshould be set to hexadecimal, but an integer value is set. This fixes theBOOTSTAGE_STASH_SIZEnumber from hexadecimal to integer.Signed-off-by Nobuhiro Iwamatsu <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170408/2a9fd1c3/attachment.sig>