summaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/deltalake
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:21:03 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-30 22:11:50 +0000
commit486240fc7d2f1f8fc5bac2614d5f4139ab8d4ea3 (patch)
tree23e4c847aa743f03125518e6cf103c072fe3cb28 /src/mainboard/ocp/deltalake
parentf58abca47a48c3f3e6cee2599b1fcb7619865169 (diff)
src/mainboard: Remove unnecessary space after casts
Change-Id: Id8e1a52279e6a606441eefe30e24bcd44e006aad Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69815 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Jonathon Hall <jonathon.hall@puri.sm> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'src/mainboard/ocp/deltalake')
-rw-r--r--src/mainboard/ocp/deltalake/ipmi.c4
-rw-r--r--src/mainboard/ocp/deltalake/romstage.c2
2 files changed, 3 insertions, 3 deletions
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 {