mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
m68k: set a default value for MEMORY_RESERVE
[ Upstream commit1aaa557b2d] '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:1da177e4c3("Linux-2.6.12-rc2") # from beginning of git history Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Greg Ungerer <gerg@linux-m68k.org> Cc: linux-m68k@lists.linux-m68k.org Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a4cbf00e5a
commit
aaa64ee14a
@@ -191,6 +191,7 @@ config INIT_LCD
|
|||||||
config MEMORY_RESERVE
|
config MEMORY_RESERVE
|
||||||
int "Memory reservation (MiB)"
|
int "Memory reservation (MiB)"
|
||||||
depends on (UCSIMM || UCDIMM)
|
depends on (UCSIMM || UCDIMM)
|
||||||
|
default 0
|
||||||
help
|
help
|
||||||
Reserve certain memory regions on 68x328 based boards.
|
Reserve certain memory regions on 68x328 based boards.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user