summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb700
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb700')
-rw-r--r--src/southbridge/amd/sb700/sm.c2
-rw-r--r--src/southbridge/amd/sb700/spi.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/southbridge/amd/sb700/sm.c b/src/southbridge/amd/sb700/sm.c
index 66316828ba..535e5e4135 100644
--- a/src/southbridge/amd/sb700/sm.c
+++ b/src/southbridge/amd/sb700/sm.c
@@ -24,7 +24,7 @@
#include <arch/io.h>
#include <cpu/x86/lapic.h>
#include <arch/ioapic.h>
-#include <stdlib.h>
+
#include "sb700.h"
#include "smbus.h"
diff --git a/src/southbridge/amd/sb700/spi.c b/src/southbridge/amd/sb700/spi.c
index ee031e927f..f772f755ba 100644
--- a/src/southbridge/amd/sb700/spi.c
+++ b/src/southbridge/amd/sb700/spi.c
@@ -14,8 +14,6 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
-#include <stdlib.h>
#include <device/mmio.h>
#include <console/console.h>
#include <spi-generic.h>
@@ -23,6 +21,7 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
+#include <types.h>
#define AMD_SB_SPI_TX_LEN 8