Cosmetic fixes and comment additions in acpi.c.
[coreboot.git] / src / arch / i386 / Kconfig
index 4dc032110ce37ee4445217108ac5d19d1becc4e8..ef86d99119941a0417cda3cc7c2549b4679f3fdd 100644 (file)
@@ -1,60 +1,92 @@
+# 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
 
+# 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
-       default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
-       default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
-       default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
-       default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
-       default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
-       default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128
-
-config PAYLOAD_SIZE
-       hex
-       default 0
-
-config ROM_PAYLOAD_START
-       hex
-       default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
-       default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
-       default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
-       default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
-       default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
-       default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128
+       default 0xffff0000
 
 config ROM_IMAGE_SIZE
        hex
-       default 0x400000 if COREBOOT_ROMSIZE_KB_4096
-       default 0x200000 if COREBOOT_ROMSIZE_KB_2048
-       default 0x100000 if COREBOOT_ROMSIZE_KB_1024
-       default 0x80000 if COREBOOT_ROMSIZE_KB_512
-       default 0x40000 if COREBOOT_ROMSIZE_KB_256
-       default 0x20000 if COREBOOT_ROMSIZE_KB_128
+       default 0x10000
 
 config RAMBASE
        hex
        default 0x100000
 
+config RAMTOP
+       hex
+       default 0x200000
+
 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
+config TINY_BOOTBLOCK
+       bool
+       default n
+
+config BIG_BOOTBLOCK
+       bool
+       default n if TINY_BOOTBLOCK
+       default y
 
+choice
+       prompt "Bootblock behaviour"
+       default BOOTBLOCK_SIMPLE
+       depends on TINY_BOOTBLOCK
+
+config BOOTBLOCK_SIMPLE
+       bool "Always load fallback"
+
+config BOOTBLOCK_NORMAL
+       bool "Switch to normal if CMOS says so"
+
+endchoice
+
+config BOOTBLOCK_SOURCE
+       string
+       default "bootblock_simple.c" if BOOTBLOCK_SIMPLE
+       default "bootblock_normal.c" if BOOTBLOCK_NORMAL
+
+config UPDATE_IMAGE
+       bool "Update existing coreboot.rom image"
+       default n
+       depends on TINY_BOOTBLOCK
+       help
+         If this option is enabled, no new coreboot.rom file
+         is created. Instead it is expected that there already
+         is a suitable file for further processing.
+         The bootblock will not be modified.
+
+config ROMCC
+       bool
+       default n
+
+config BOOTBLOCK_NORTHBRIDGE_INIT
+       string
+
+config BOOTBLOCK_SOUTHBRIDGE_INIT
+       string