Enable or disable the power button in Kconfig
[coreboot.git] / src / Kconfig
index ec3a13bdbf97edb9192fc9dc3ceeaef45dcc0341..a61efe1a8e7025d0b88d1fb16b05975b12f136df 100644 (file)
@@ -499,6 +499,16 @@ config DEBUG_RAM_SETUP
 
          If unsure, say N.
 
+config HAVE_DEBUG_CAR
+       def_bool n
+
+config DEBUG_CAR
+       bool "Output verbose Cache-as-RAM debug messages"
+       default n
+       depends on HAVE_DEBUG_CAR
+       help
+         This option enables additional CAR related debug messages.
+
 config DEBUG_PIRQ
        bool "Check PIRQ table consistency"
        default n
@@ -543,6 +553,17 @@ config DEBUG_SMM_RELOCATION
 
          If unsure, say N.
 
+config REALMODE_DEBUG
+       bool "Enable debug messages for option ROM execution"
+       default n
+       depends on PCI_OPTION_ROM_RUN_REALMODE
+       help
+         This option enables additional x86emu related debug messages.
+
+         Note: This option will increase the time to emulate a ROM.
+
+         If unsure, say N.
+
 config X86EMU_DEBUG
        bool "Output verbose x86emu debug messages"
        default n
@@ -699,6 +720,10 @@ config AP_CODE_IN_CAR
        bool
        default n
 
+config RAMINIT_SYSINFO
+       bool
+       default n
+
 config ENABLE_APIC_EXT_ID
        bool
        default n
@@ -711,4 +736,43 @@ config ID_SECTION_OFFSET
        hex
        default 0x10
 
+# The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,
+# POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are
+# mutually exclusive. One of these options must be selected in the
+# mainboard Kconfig if the chipset supports enabling and disabling of
+# the power button. Chipset code uses the ENABLE_POWER_BUTTON option set
+# in mainboard/Kconfig to know if the button should be enabled or not.
+
+config POWER_BUTTON_DEFAULT_ENABLE
+       def_bool n
+       help
+         Select when the board has a power button which can optionally be
+         disabled by the user.
+
+config POWER_BUTTON_DEFAULT_DISABLE
+       def_bool n
+       help
+         Select when the board has a power button which can optionally be
+         enabled by the user, e.g. when the board ships with a jumper over
+         the power switch contacts.
+
+config POWER_BUTTON_FORCE_ENABLE
+       def_bool n
+       help
+         Select when the board requires that the power button is always
+         enabled.
+
+config POWER_BUTTON_FORCE_DISABLE
+       def_bool n
+       help
+         Select when the board requires that the power button is always
+         disabled, e.g. when it has been hardwired to ground.
+
+config POWER_BUTTON_IS_OPTIONAL
+       bool
+       default y if POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE
+       default n if !(POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE)
+       help
+         Internal option that controls ENABLE_POWER_BUTTON visibility.
+
 source src/Kconfig.deprecated_options