aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/cimx/sb800/smbus_spd.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-23 07:01:22 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-10-28 11:57:01 +0000
commit400f9ca2613297b3034d96286eeeb009a1eb2ac0 (patch)
tree1af487da965801d4810ff65c67b3d7ae206e9aa3 /src/southbridge/amd/cimx/sb800/smbus_spd.c
parent34715df801dd8bee119c6062c3a9d5acd835e2e1 (diff)
src/southbridge: Use 'include <stdlib.h>' when appropriate
Also, including <types.h>, is supposed to provide stdint and stddef. Change-Id: I7e1a3483aae0e3f0a7bc2eb2c1862ae7a325fd9c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33683 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/amd/cimx/sb800/smbus_spd.c')
-rw-r--r--src/southbridge/amd/cimx/sb800/smbus_spd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/cimx/sb800/smbus_spd.c b/src/southbridge/amd/cimx/sb800/smbus_spd.c
index a6881bbe1e..a574072388 100644
--- a/src/southbridge/amd/cimx/sb800/smbus_spd.c
+++ b/src/southbridge/amd/cimx/sb800/smbus_spd.c
@@ -15,7 +15,7 @@
#include <device/pci_def.h>
#include <device/device.h>
-#include <stdlib.h>
+#include <stddef.h>
#include <OEM.h> /* SMBUS0_BASE_ADDRESS */
/* warning: Porting.h includes an open #pragma pack(1) */