nb/amd/agesa/*/dimmSpd.c: Fix some white spaces issues

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: Icfd36e0ee524e0e2dc1dd6b0ee39a5c1ae31f4ea
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65892
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes Haouas 2022-07-16 09:36:50 +02:00 committed by Martin L Roth
parent 3adfde9c6a
commit f63edd98a6
3 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@
* Gets the SMBus address for an SPD from the array in devicetree.cb * Gets the SMBus address for an SPD from the array in devicetree.cb
* then read the SPD into the supplied buffer. * then read the SPD into the supplied buffer.
*/ */
AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info) AGESA_STATUS AmdMemoryReadSPD(UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info)
{ {
UINT8 spdAddress; UINT8 spdAddress;
@ -40,7 +40,7 @@ AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PAR
if (spdAddress == 0) if (spdAddress == 0)
return AGESA_ERROR; return AGESA_ERROR;
int err = smbus_readSpd(spdAddress, (void *) info->Buffer, DDR3_SPD_SIZE); int err = smbus_readSpd(spdAddress, (void *)info->Buffer, DDR3_SPD_SIZE);
if (err) if (err)
return AGESA_ERROR; return AGESA_ERROR;
return AGESA_SUCCESS; return AGESA_SUCCESS;

View File

@ -14,7 +14,7 @@
* Gets the SMBus address for an SPD from the array in devicetree.cb * Gets the SMBus address for an SPD from the array in devicetree.cb
* then read the SPD into the supplied buffer. * then read the SPD into the supplied buffer.
*/ */
AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info) AGESA_STATUS AmdMemoryReadSPD(UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info)
{ {
UINT8 spdAddress; UINT8 spdAddress;
@ -39,7 +39,7 @@ AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PAR
if (spdAddress == 0) if (spdAddress == 0)
return AGESA_ERROR; return AGESA_ERROR;
int err = hudson_readSpd(spdAddress, (void *) info->Buffer, DDR3_SPD_SIZE); int err = hudson_readSpd(spdAddress, (void *)info->Buffer, DDR3_SPD_SIZE);
if (err) if (err)
return AGESA_ERROR; return AGESA_ERROR;
return AGESA_SUCCESS; return AGESA_SUCCESS;

View File

@ -14,7 +14,7 @@
* Gets the SMBus address for an SPD from the array in devicetree.cb * Gets the SMBus address for an SPD from the array in devicetree.cb
* then read the SPD into the supplied buffer. * then read the SPD into the supplied buffer.
*/ */
AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info) AGESA_STATUS AmdMemoryReadSPD(UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info)
{ {
UINT8 spdAddress; UINT8 spdAddress;
@ -39,7 +39,7 @@ AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PAR
if (spdAddress == 0) if (spdAddress == 0)
return AGESA_ERROR; return AGESA_ERROR;
int err = hudson_readSpd(spdAddress, (void *) info->Buffer, DDR3_SPD_SIZE); int err = hudson_readSpd(spdAddress, (void *)info->Buffer, DDR3_SPD_SIZE);
if (err) if (err)
return AGESA_ERROR; return AGESA_ERROR;
return AGESA_SUCCESS; return AGESA_SUCCESS;