From 486240fc7d2f1f8fc5bac2614d5f4139ab8d4ea3 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 18 Nov 2022 15:21:03 +0100 Subject: src/mainboard: Remove unnecessary space after casts Change-Id: Id8e1a52279e6a606441eefe30e24bcd44e006aad Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69815 Reviewed-by: Eric Lai Reviewed-by: Jonathon Hall Tested-by: build bot (Jenkins) Reviewed-by: Jakub Czapiga --- src/mainboard/ocp/deltalake/ipmi.c | 4 ++-- src/mainboard/ocp/deltalake/romstage.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/ocp/deltalake') diff --git a/src/mainboard/ocp/deltalake/ipmi.c b/src/mainboard/ocp/deltalake/ipmi.c index 1e553c0d24..c3ba3546e2 100644 --- a/src/mainboard/ocp/deltalake/ipmi.c +++ b/src/mainboard/ocp/deltalake/ipmi.c @@ -20,7 +20,7 @@ enum cb_err ipmi_get_pcie_config(uint8_t *pcie_config) struct ipmi_config_rsp rsp; ret = ipmi_message(CONFIG_BMC_KCS_BASE, IPMI_NETFN_OEM, 0x0, - IPMI_OEM_GET_PCIE_CONFIG, NULL, 0, (unsigned char *) &rsp, + IPMI_OEM_GET_PCIE_CONFIG, NULL, 0, (unsigned char *)&rsp, sizeof(rsp)); if (ret < sizeof(struct ipmi_rsp) || rsp.resp.completion_code) { @@ -46,7 +46,7 @@ enum cb_err ipmi_get_slot_id(uint8_t *slot_id) struct ipmi_config_rsp rsp; ret = ipmi_message(CONFIG_BMC_KCS_BASE, IPMI_NETFN_OEM, 0x0, IPMI_OEM_GET_BOARD_ID, - NULL, 0, (unsigned char *) &rsp, sizeof(rsp)); + NULL, 0, (unsigned char *)&rsp, sizeof(rsp)); if (ret < sizeof(struct ipmi_rsp) || rsp.resp.completion_code) { printk(BIOS_ERR, "IPMI: %s command failed (ret=%d resp=0x%x)\n", diff --git a/src/mainboard/ocp/deltalake/romstage.c b/src/mainboard/ocp/deltalake/romstage.c index 23bbffeb78..d20c54ce90 100644 --- a/src/mainboard/ocp/deltalake/romstage.c +++ b/src/mainboard/ocp/deltalake/romstage.c @@ -105,7 +105,7 @@ static void mainboard_config_upd(FSPM_UPD *mupd) } /* Select DDR Frequency Limit */ - if (vpd_get_int(FSP_DIMM_FREQ, VPD_RW_THEN_RO, (int *const) &val_int)) { + if (vpd_get_int(FSP_DIMM_FREQ, VPD_RW_THEN_RO, (int *const)&val_int)) { printk(BIOS_INFO, "Setting DdrFreqLimit %d from VPD\n", val_int); mupd->FspmConfig.DdrFreqLimit = ddr_freq_limit(val_int); } else { -- cgit v1.2.3