Skip to content

Commit 1aaa557

Browse files
rddunlapGreg Ungerer
authored andcommitted
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) Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") # from beginning of git history Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: [email protected] Signed-off-by: Greg Ungerer <[email protected]>
1 parent 3906fe9 commit 1aaa557

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/m68k/Kconfig.machine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ config INIT_LCD
203203
config MEMORY_RESERVE
204204
int "Memory reservation (MiB)"
205205
depends on (UCSIMM || UCDIMM)
206+
default 0
206207
help
207208
Reserve certain memory regions on 68x328 based boards.
208209

0 commit comments

Comments
 (0)