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:
parent
3adfde9c6a
commit
f63edd98a6
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue