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
diff --git a/src/arch/i386/Kconfig b/src/arch/i386/Kconfig
index 2e2f650..8481cf6 100644
--- a/src/arch/i386/Kconfig
+++ b/src/arch/i386/Kconfig
@@ -1,23 +1,22 @@
+# This option is used to set the architecture of a mainboard to X86.
+# It is usually set in mainboard/*/Kconfig.
config ARCH_X86
bool
- help
- This option is used to set the architecture of a mainboard.
- It is usually set in mainboard/*/Kconfig.
+ default n
+# This is an SMP option. It relates to starting up APs.
+# It is usually set in mainboard/*/Kconfig.
+# TODO: Improve description.
config AP_IN_SIPI_WAIT
bool
default n
depends on ARCH_X86
- help
- This is an SMP option. It relates to starting up APs.
- It is usually set in mainboard/*/Kconfig.
+# This is the name of the respective architecture subdirectory in arch/.
config ARCH
string
default i386
depends on ARCH_X86
- help
- This is the name of the respective subdirectory in arch/.
config ROMBASE
hex
@@ -58,11 +57,9 @@
hex
default 0x8000
-menu "Misc options"
-
+# Maximum reboot count
+# TODO: Improve description.
config MAX_REBOOT_CNT
- int "Maximum reboot count"
+ int
default 3
-endmenu
-
diff --git a/src/arch/ppc/Kconfig b/src/arch/ppc/Kconfig
index 66a9051..1916433 100644
--- a/src/arch/ppc/Kconfig
+++ b/src/arch/ppc/Kconfig
@@ -1,13 +1,12 @@
+# This option is used to set the architecture of a mainboard to PowerPC.
+# It is usually set in mainboard/*/Kconfig.
config ARCH_POWERPC
bool
- help
- This option is used to set the architecture of a mainboard.
- It is usually set in mainboard/*/Kconfig.
+ default n
+# This is the name of the respective architecture subdirectory in arch/.
config ARCH
string
default ppc
depends on ARCH_POWERPC
- help
- This is the name of the respective subdirectory in arch/.