diff options
author | Johnny Lin <johnny_lin@wiwynn.com> | 2021-01-08 15:24:25 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-01 08:47:48 +0000 |
commit | 3acea5c51abd09bb578cfb35952b9dbd96be21fe (patch) | |
tree | 9b7536e003e98cd200b18ef3ae7010087131172d /src/mainboard/ocp/deltalake/ramstage.c | |
parent | 86846439113a370b0eab341b50dcd4cf1679b7ec (diff) |
ipmi/ocp: Move common OCP/Facebook IPMI OEM codes into drivers/ipmi/ocp
1. These are common OCP/Facebook IPMI OEM commands, move from mainboard
into drivers/ipmi/ocp to avoid code duplication and provide better
reusability.
2. OCP Tioga Pass enables IPMI_OCP driver.
Tested=On OCP Delta Lake and Tioga Pass verify the commands still work
correctly.
Change-Id: Idd116a89239273fd5cc7b06c7768146085a3ed69
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49235
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/mainboard/ocp/deltalake/ramstage.c')
-rw-r--r-- | src/mainboard/ocp/deltalake/ramstage.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c index 4a3e385963..40810b6364 100644 --- a/src/mainboard/ocp/deltalake/ramstage.c +++ b/src/mainboard/ocp/deltalake/ramstage.c @@ -353,13 +353,6 @@ void mainboard_silicon_init_params(FSPS_UPD *params) static void mainboard_final(void *chip_info) { - struct ppin_req req = {0}; - - req.cpu0_lo = xeon_sp_ppin[0].lo; - req.cpu0_hi = xeon_sp_ppin[0].hi; - /* Set PPIN to BMC */ - if (ipmi_set_ppin(&req) != CB_SUCCESS) - printk(BIOS_ERR, "ipmi_set_ppin failed\n"); } struct chip_operations mainboard_ops = { |