From 400f9ca2613297b3034d96286eeeb009a1eb2ac0 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 23 Jun 2019 07:01:22 +0200 Subject: src/southbridge: Use 'include ' when appropriate Also, including , is supposed to provide stdint and stddef. Change-Id: I7e1a3483aae0e3f0a7bc2eb2c1862ae7a325fd9c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33683 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/southbridge/amd/agesa/hudson/sm.c | 2 +- src/southbridge/amd/cimx/sb800/smbus_spd.c | 2 +- src/southbridge/amd/cimx/sb800/spi.c | 4 ++-- src/southbridge/amd/pi/hudson/sm.c | 2 +- src/southbridge/amd/sb700/sm.c | 2 +- src/southbridge/amd/sb700/spi.c | 3 +-- src/southbridge/amd/sb800/sm.c | 2 +- src/southbridge/intel/lynxpoint/me_9.x.c | 1 + 8 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/southbridge') diff --git a/src/southbridge/amd/agesa/hudson/sm.c b/src/southbridge/amd/agesa/hudson/sm.c index b5739f9e39..07646c862c 100644 --- a/src/southbridge/amd/agesa/hudson/sm.c +++ b/src/southbridge/amd/agesa/hudson/sm.c @@ -19,7 +19,7 @@ #include #include #include -#include + #include "hudson.h" #include "smbus.c" 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 #include -#include +#include #include /* SMBUS0_BASE_ADDRESS */ /* warning: Porting.h includes an open #pragma pack(1) */ diff --git a/src/southbridge/amd/cimx/sb800/spi.c b/src/southbridge/amd/cimx/sb800/spi.c index ffda0a8ea4..fcb4fa1111 100644 --- a/src/southbridge/amd/cimx/sb800/spi.c +++ b/src/southbridge/amd/cimx/sb800/spi.c @@ -12,8 +12,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ -#include -#include + #include #include #include @@ -21,6 +20,7 @@ #include #include #include +#include #include "SBPLATFORM.h" #include diff --git a/src/southbridge/amd/pi/hudson/sm.c b/src/southbridge/amd/pi/hudson/sm.c index 58f5113fa5..7ecb8df2ab 100644 --- a/src/southbridge/amd/pi/hudson/sm.c +++ b/src/southbridge/amd/pi/hudson/sm.c @@ -19,7 +19,7 @@ #include #include #include -#include + #include "hudson.h" #include "smbus.c" 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 #include #include -#include + #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 -#include #include #include #include @@ -23,6 +21,7 @@ #include #include #include +#include #define AMD_SB_SPI_TX_LEN 8 diff --git a/src/southbridge/amd/sb800/sm.c b/src/southbridge/amd/sb800/sm.c index 1d2daed81c..e1cf05ce09 100644 --- a/src/southbridge/amd/sb800/sm.c +++ b/src/southbridge/amd/sb800/sm.c @@ -23,7 +23,7 @@ #include #include #include -#include + #include "sb800.h" #include "smbus.c" diff --git a/src/southbridge/intel/lynxpoint/me_9.x.c b/src/southbridge/intel/lynxpoint/me_9.x.c index 8d86e68227..b43a1ae39c 100644 --- a/src/southbridge/intel/lynxpoint/me_9.x.c +++ b/src/southbridge/intel/lynxpoint/me_9.x.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "chip.h" #include "me.h" -- cgit v1.2.3