Add driver for OCP specific ipmi commands. With this driver, OCP specific ipmi command can be used after implementing functions here. TEST=Build with CB:42242 on Delta Lake, select Kconfig option: IPMI_OCP and add device in devicetree to open this function. Use ipmi-util in OpenBMC to dump raw data and check if this function work. Signed-off-by: Tim Chu <Tim.Chu@quantatw.com> Change-Id: I2efa85978ec4ad3d75f2bd93b4139ef8059127ed Reviewed-on: https://review.coreboot.org/c/coreboot/+/43996 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
46 lines
767 B
Plaintext
46 lines
767 B
Plaintext
if BOARD_OCP_DELTALAKE
|
|
|
|
config BOARD_SPECIFIC_OPTIONS
|
|
def_bool y
|
|
select BOARD_ROMSIZE_KB_65536
|
|
select FSP_CAR
|
|
select HAVE_ACPI_TABLES
|
|
select MAINBOARD_USES_FSP2_0
|
|
select SOC_INTEL_COOPERLAKE_SP
|
|
select SUPERIO_ASPEED_AST2400
|
|
select IPMI_KCS
|
|
select IPMI_KCS_ROMSTAGE
|
|
select OCP_DMI
|
|
select VPD
|
|
select VPD_SMBIOS_VERSION
|
|
select IPMI_OCP
|
|
|
|
config POWER_STATE_DEFAULT_ON_AFTER_FAILURE
|
|
default n
|
|
|
|
config IPMI_KCS_REGISTER_SPACING
|
|
int
|
|
default 4
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default "ocp/deltalake"
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "DeltaLake"
|
|
|
|
config MAINBOARD_FAMILY
|
|
string
|
|
default "DeltaLake"
|
|
|
|
config MAX_SOCKET
|
|
int
|
|
default 1
|
|
|
|
config FMDFILE
|
|
string
|
|
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/board.fmd"
|
|
|
|
endif # BOARD_OCP_DELTALAKE
|