summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-07-16 09:36:50 +0200
committerMartin L Roth <gaumless@tutanota.com>2022-07-17 21:45:20 +0000
commitf63edd98a6e3302701a94f6b36c5b54cf89fc459 (patch)
treecfec2819e4d01d1e560f0c736245e5eb16adb9c0 /src
parent3adfde9c6aac9285ec15fd23c31d0372ead1af8a (diff)
downloadcoreboot-f63edd98a6e3302701a94f6b36c5b54cf89fc459.tar.gz
coreboot-f63edd98a6e3302701a94f6b36c5b54cf89fc459.tar.bz2
coreboot-f63edd98a6e3302701a94f6b36c5b54cf89fc459.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/amd/agesa/family14/dimmSpd.c4
-rw-r--r--src/northbridge/amd/agesa/family15tn/dimmSpd.c4
-rw-r--r--src/northbridge/amd/agesa/family16kb/dimmSpd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/amd/agesa/family14/dimmSpd.c b/src/northbridge/amd/agesa/family14/dimmSpd.c
index d43e6a1e2f02..91ac45af4400 100644
--- a/src/northbridge/amd/agesa/family14/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family14/dimmSpd.c
@@ -15,7 +15,7 @@
* Gets the SMBus address for an SPD from the array in devicetree.cb
* 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;
@@ -40,7 +40,7 @@ AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PAR
if (spdAddress == 0)
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)
return AGESA_ERROR;
return AGESA_SUCCESS;
diff --git a/src/northbridge/amd/agesa/family15tn/dimmSpd.c b/src/northbridge/amd/agesa/family15tn/dimmSpd.c
index 70a7b92be053..1627b70f2385 100644
--- a/src/northbridge/amd/agesa/family15tn/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family15tn/dimmSpd.c
@@ -14,7 +14,7 @@
* Gets the SMBus address for an SPD from the array in devicetree.cb
* 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;
@@ -39,7 +39,7 @@ AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PAR
if (spdAddress == 0)
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)
return AGESA_ERROR;
return AGESA_SUCCESS;
diff --git a/src/northbridge/amd/agesa/family16kb/dimmSpd.c b/src/northbridge/amd/agesa/family16kb/dimmSpd.c
index 58b35e09fd6e..1f9d970e9dc4 100644
--- a/src/northbridge/amd/agesa/family16kb/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family16kb/dimmSpd.c
@@ -14,7 +14,7 @@
* Gets the SMBus address for an SPD from the array in devicetree.cb
* 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;
@@ -39,7 +39,7 @@ AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PAR
if (spdAddress == 0)
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)
return AGESA_ERROR;
return AGESA_SUCCESS;