aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/monolake/Kconfig
diff options
context:
space:
mode:
authorJohnny Lin <johnny_lin@wiwynn.com>2019-08-13 15:36:23 +0800
committerAndrey Petrov <andrey.petrov@gmail.com>2019-08-20 18:18:34 +0000
commit64d8b9decf8fe51e13ef5e5e89c71682f1696608 (patch)
tree572183771d748af8f46293f1c0c97a878f490547 /src/mainboard/ocp/monolake/Kconfig
parenta4542990f4cd5d9a18e8b0846b54fcfe5cbd01e5 (diff)
mb/ocp/monolake: Add IPMI CMOS clear support
coreboot would clear CMOS by request via IPMI command, for example BMC can issue "bios-util server --boot_order enable --clear_CMOS" to set the request and reboot the system, then coreboot would clear CMOS on the next boot. Tested on Mono Lake Change-Id: I21d44557896680cfac3c3b6d83e07b755b242cad Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34857 Reviewed-by: Johnny Lin Reviewed-by: Andrey Petrov <andrey.petrov@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/ocp/monolake/Kconfig')
-rw-r--r--src/mainboard/ocp/monolake/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/ocp/monolake/Kconfig b/src/mainboard/ocp/monolake/Kconfig
index 13d7876cea..9536c30203 100644
--- a/src/mainboard/ocp/monolake/Kconfig
+++ b/src/mainboard/ocp/monolake/Kconfig
@@ -12,6 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_USES_IFD_GBE_REGION
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
+ select IPMI_KCS
config INTEGRATED_UART
def_bool n
@@ -47,4 +48,7 @@ config FMDFILE
string
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/board.fmd"
+config IPMI_KCS_REGISTER_SPACING
+ default 4
+
endif # BOARD_OCP_MONOLAKE