From 6359d0661fc649522804f9c7823d63906604a8a3 Mon Sep 17 00:00:00 2001 From: Morgan Jang Date: Mon, 4 May 2020 11:00:24 +0800 Subject: mb/ocp/deltalake: Enable IPMI KCS Config the IO port for IPMI KCS and set bmc_boot_timeout for checking BMC self test result. TEST=Check if the BMC IPMI reponse data is correct or not. Change-Id: I675060299b486986ebc39d8f714615b3e13de89a Signed-off-by: Morgan Jang Reviewed-on: https://review.coreboot.org/c/coreboot/+/41023 Reviewed-by: Jonathan Zhang Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/mainboard/ocp/deltalake/Kconfig | 5 +++++ src/mainboard/ocp/deltalake/devicetree.cb | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'src/mainboard/ocp') diff --git a/src/mainboard/ocp/deltalake/Kconfig b/src/mainboard/ocp/deltalake/Kconfig index 679115a5bd..d61a3a6451 100644 --- a/src/mainboard/ocp/deltalake/Kconfig +++ b/src/mainboard/ocp/deltalake/Kconfig @@ -8,6 +8,11 @@ config BOARD_SPECIFIC_OPTIONS select MAINBOARD_USES_FSP2_0 select SOC_INTEL_COOPERLAKE_SP select SUPERIO_ASPEED_AST2400 + select IPMI_KCS + +config IPMI_KCS_REGISTER_SPACING + int + default 4 config MAINBOARD_DIR string diff --git a/src/mainboard/ocp/deltalake/devicetree.cb b/src/mainboard/ocp/deltalake/devicetree.cb index 26912d113d..2586b73ea7 100644 --- a/src/mainboard/ocp/deltalake/devicetree.cb +++ b/src/mainboard/ocp/deltalake/devicetree.cb @@ -36,6 +36,8 @@ chip soc/intel/xeon_sp/cpx register "coherency_support" = "0" register "ats_support" = "0" + register "gen2_dec" = "0x000c0ca1" # IPMI KCS + device cpu_cluster 0 on device lapic 0 on end end @@ -70,7 +72,13 @@ chip soc/intel/xeon_sp/cpx device pci 1c.4 on end # PCI bridge: Intel Device a214 device pci 1c.5 on end # PCI bridge: Intel Device a215 device pci 1d.0 on end # PCI bridge: Intel Device a218 - device pci 1f.0 on end # ISA bridge: Intel Device a245 + device pci 1f.0 on + chip drivers/ipmi # BMC KCS + device pnp ca2.0 on end + register "bmc_i2c_address" = "0x20" + register "bmc_boot_timeout" = "60" + end + end # ISA bridge: Intel Device a245 device pci 1f.1 on end # p2sb device pci 1f.2 on end # Memory controller: Intel Device a221 device pci 1f.3 on end # Audio device: Intel Device a270 -- cgit v1.2.3