src/mainboard: Remove whitespace after sizeof
Change-Id: Ie2a047d35e69182812c349daedc5b3b5fde20122 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16860 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
f2fcf22d22
commit
ec28aadbd1
|
@ -140,7 +140,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
|||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
};
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof (FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof(FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
|
||||
/* Enable IMC fan control. the recommended way */
|
||||
#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
|
||||
|
|
|
@ -155,7 +155,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
|||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
};
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof (FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof(FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
|
||||
/* Enable IMC fan control. the recommended way */
|
||||
#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
|
||||
|
|
|
@ -123,7 +123,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
|||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
};
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof (FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof(FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
|
||||
/* Enable IMC fan control. the recommended way */
|
||||
#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
|
||||
|
|
|
@ -163,7 +163,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
|||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
};
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof (FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof(FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
|
||||
/* Enable IMC fan control. the recommand way */
|
||||
#if defined CONFIG_HUDSON_IMC_FWM && (CONFIG_HUDSON_IMC_FWM == 1)
|
||||
|
|
|
@ -125,7 +125,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
|||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
{FAN_INPUT_INTERNAL_DIODE, (FAN_STEPMODE | FAN_POLARITY_HIGH), FREQ_100HZ, 40, 60, 0, 40, 65, 85, 0, 0},
|
||||
};
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof (FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
LibAmdMemCopy ((VOID *)(FchParams->Hwm.HwmFanControl), &oem_factl, (sizeof(FCH_HWM_FAN_CTR) * 5), FchParams->StdHeader);
|
||||
|
||||
/* Enable IMC fan control. the recommended way */
|
||||
#if IS_ENABLED(CONFIG_HUDSON_IMC_FWM)
|
||||
|
|
|
@ -72,7 +72,7 @@ const u32 link_edid_data[] = {
|
|||
static char *regname(unsigned long addr)
|
||||
{
|
||||
static char name[16];
|
||||
snprintf(name, sizeof (name), "0x%lx", addr);
|
||||
snprintf(name, sizeof(name), "0x%lx", addr);
|
||||
return name;
|
||||
}
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ static int ioread = 0, iowrite = 0;
|
|||
static char *regname(unsigned long addr)
|
||||
{
|
||||
static char name[16];
|
||||
snprintf(name, sizeof (name), "0x%lx", addr);
|
||||
snprintf(name, sizeof(name), "0x%lx", addr);
|
||||
return name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue