summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/dimmSpd.h
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-06-14 16:22:07 -0600
committerMartin Roth <martinroth@google.com>2017-06-27 20:51:39 +0000
commitf3dc71e0310859ebec687a6d67d1fa8140fad754 (patch)
treed5ecd7be782dd1a534c6cab84a1d240b1f36e67a /src/soc/amd/common/dimmSpd.h
parent4e101ada37c10282030729f4a03fd505bd4f526d (diff)
soc/amd/common: Fix most checkpatch errors
Correct the majority of reported errors and mark most of the remaining ones as todo. Some of the lines requiring a >80 break are indented too much currently. Changes to agesawrapper.c cause the build to change, so this file is also left as-is. Make hex values consistently lower-case. BUG=chrome-os-partner:622407746 Change-Id: I0464f0cafac4ee67edc95d377dcf7aab9a90c66b Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/20249 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/common/dimmSpd.h')
-rw-r--r--src/soc/amd/common/dimmSpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/common/dimmSpd.h b/src/soc/amd/common/dimmSpd.h
index 4527ba93b7..ea7a7e9805 100644
--- a/src/soc/amd/common/dimmSpd.h
+++ b/src/soc/amd/common/dimmSpd.h
@@ -17,7 +17,8 @@
#define _DIMMSPD_H_
AGESA_STATUS
-AmdMemoryReadSPD (IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
+AmdMemoryReadSPD(IN UINT32 Func, IN UINTN Data,
+ IN OUT AGESA_READ_SPD_PARAMS *SpdData);
int hudson_readSpd(int spdAddress, char *buf, size_t len);
int smbus_readSpd(int spdAddress, char *buf, size_t len);