summaryrefslogtreecommitdiff
path: root/src/mainboard/Kconfig
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-07 16:15:40 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-07 16:15:40 +0000
commit168b11bc416eb0931581cc674a60bc53861081c3 (patch)
treea16e0ff7747cc0a9fa040fadacfd4538c7e41553 /src/mainboard/Kconfig
parentdd565145020a462725a9557b5370aca8e34e914d (diff)
downloadcoreboot-168b11bc416eb0931581cc674a60bc53861081c3.tar.xz
Various Kconfig fixes and improvements:
- Add helps texts to multiple user-visible Kconfig options. - Improve some menu and option names. - PAYLOAD_NONE should come before PAYLOAD_ELF, so that you scroll down (instead of up) when changing "no payload" to "ELF payload" (more intuitive, IMHO). - s/cbfs/cbfstool/. - Add some TODO items where needed. - Put GDB_STUB in a "Debugging" menu, no options should be top-level. There'll be more debug options later, I'm pretty sure. - Start converting help texts which are not user-visible to #-comments. - Re-order some options for more intuitive menus. - Set ARCH_X86 and ARCH_POWERPC to "default n", each boards selects them. - "Maximum reboot count" should proabably not be user-selectable, or at most if CONFIG_EXPERT (yet to be added) is enabled. It does definately not need its own "Misc options" menu. - Set PCI_ROM_RUN and VGA_ROM_RUN to "default y", most users will want to run option ROMs. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4734 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/Kconfig')
-rw-r--r--src/mainboard/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 9f7f8e42d5..a96b42a986 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -370,9 +370,15 @@ source "src/mainboard/thomson/Kconfig"
source "src/mainboard/tyan/Kconfig"
source "src/mainboard/via/Kconfig"
+# TODO: No help text possible for choice fields?
choice
prompt "ROM chip size"
default COREBOOT_ROMSIZE_KB_256
+ help
+ Select the size of the ROM chip you intend to flash coreboot on.
+
+ The build system will take care of creating a coreboot.rom file
+ of the matching size.
config COREBOOT_ROMSIZE_KB_128
bool "128 KB"
@@ -406,6 +412,7 @@ config COREBOOT_ROMSIZE_KB_4096
endchoice
+# Map the config names to an integer (KB).
config COREBOOT_ROMSIZE_KB
int
default 128 if COREBOOT_ROMSIZE_KB_128
@@ -414,9 +421,8 @@ config COREBOOT_ROMSIZE_KB
default 1024 if COREBOOT_ROMSIZE_KB_1024
default 2048 if COREBOOT_ROMSIZE_KB_2048
default 4096 if COREBOOT_ROMSIZE_KB_4096
- help
- Map the config names to an integer.
+# Map the config names to a hex value (bytes).
config ROM_SIZE
hex
default 0x20000 if COREBOOT_ROMSIZE_KB_128