m68k: set a default value for MEMORY_RESERVE
RFC PATCH 1/1 m68k: set a default value for MEMORY_RESERVE
'make randconfig' can produce a .config file with "CONFIG_MEMORY_RESERVE=" (no value) since it has no default. When a subsequent 'make all' is done, kconfig restarts the config and prompts for a value for MEMORY_RESERVE. This breaks scripting/automation where there is no interactive user input.
Add a default value for MEMORY_RESERVE. (Any integer value will work here for kconfig.)
Fixes a kconfig warning:
.config:214:warning: symbol value '' invalid for MEMORY_RESERVE
* Restart config...
Memory reservation (MiB) (MEMORY_RESERVE) [] (NEW)
--- arch/m68k/Kconfig.machine | 1 + 1 file changed, 1 insertion(+)
arch/m68k/Kconfig.machine +1 -0
@@ -203,6 +203,7 @@ config INIT_LCD config MEMORY_RESERVE int "Memory reservation (MiB)" depends on (UCSIMM || UCDIMM) + default 0 help Reserve certain memory regions on 68x328 based boards.
Quoted 9 lines · Randy Dunlap
'make randconfig' can produce a .config file with "
CONFIG_MEMORY_RESERVE=" (no value) since it has no default. When a subsequent 'make all' is done, kconfig restarts the config and prompts for a value forMEMORY_RESERVE. This breaks scripting/automation where there is no interactive user input.Add a default value for
MEMORY_RESERVE. (Any integer value will work here for kconfig.)
Quoted 8 lines
Fixes a kconfig warning:
.config:214:warning: symbol value '' invalid for
MEMORY_RESERVE
* Restart config...
Memory reservation (MiB) (MEMORY_RESERVE) [] (NEW)Fixes 1da177e4c3f4 ("Linux-2.6.12-rc2") # from beginning of git historySigned-off-by Randy Dunlap <[email protected]>
As this is relevant for m68knommu, I'll leave it to Greg, unless he's too busy.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Greg Ungerer
Acked-byQuoted 12 lines · Geert Uytterhoeven
Quoted 11 lines · Randy Dunlap
'make randconfig' can produce a .config file with "
CONFIG_MEMORY_RESERVE=" (no value) since it has no default. When a subsequent 'make all' is done, kconfig restarts the config and prompts for a value forMEMORY_RESERVE. This breaks scripting/automation where there is no interactive user input.Add a default value for
MEMORY_RESERVE. (Any integer value will work here for kconfig.)Fixes a kconfig warning:
Quoted 8 lines
Quoted 6 lines
.config:214:warning: symbol value '' invalid for
MEMORY_RESERVE
* Restart config...
Memory reservation (MiB) (MEMORY_RESERVE) [] (NEW)Fixes 1da177e4c3f4 ("Linux-2.6.12-rc2") # from beginning of git historySigned-off-by Randy Dunlap <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>
Quoted 2 lines
As this is relevant for m68knommu, I'll leave it to Greg, unless he's too busy.
Thanks Geert. No problem though, I'll pick this up and push to the m68knommu git tree.
Regards
Greg