From 168b11bc416eb0931581cc674a60bc53861081c3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 7 Oct 2009 16:15:40 +0000 Subject: 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 Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4734 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/Kconfig | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'src/arch/i386') diff --git a/src/arch/i386/Kconfig b/src/arch/i386/Kconfig index 2e2f650f06..8481cf6f06 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 @@ config STACK_SIZE hex default 0x8000 -menu "Misc options" - +# Maximum reboot count +# TODO: Improve description. config MAX_REBOOT_CNT - int "Maximum reboot count" + int default 3 -endmenu - -- cgit v1.2.3