summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-29 17:45:28 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-04-23 10:00:39 +0000
commit20eaef024cb06677de10d018e6f70c28d1841290 (patch)
tree9e3c264553fa807dd1347b5427f863e4b241949e /src/southbridge
parent7118701e96c46e641cb4527e34fa48b77d105c43 (diff)
downloadcoreboot-20eaef024cb06677de10d018e6f70c28d1841290.tar.xz
src: Add missing include 'console.h'
Change-Id: Ie21c390ab04adb5b05d5f9760d227d2a175ccb56 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32122 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/agesa/hudson/resume.c2
-rw-r--r--src/southbridge/amd/agesa/hudson/smbus_spd.c3
-rw-r--r--src/southbridge/amd/cimx/sb900/cfg.c4
-rw-r--r--src/southbridge/amd/pi/hudson/smbus_spd.c2
-rw-r--r--src/southbridge/broadcom/bcm5785/early_smbus.c2
5 files changed, 7 insertions, 6 deletions
diff --git a/src/southbridge/amd/agesa/hudson/resume.c b/src/southbridge/amd/agesa/hudson/resume.c
index 8a07565c9a..efc35bd8d1 100644
--- a/src/southbridge/amd/agesa/hudson/resume.c
+++ b/src/southbridge/amd/agesa/hudson/resume.c
@@ -18,7 +18,7 @@
#include <device/device.h>
#include "hudson.h"
#include <AGESA.h>
-
+#include <console/console.h>
#include <northbridge/amd/agesa/state_machine.h>
extern FCH_DATA_BLOCK InitEnvCfgDefault;
diff --git a/src/southbridge/amd/agesa/hudson/smbus_spd.c b/src/southbridge/amd/agesa/hudson/smbus_spd.c
index cb2fbe727d..8eb36f46ee 100644
--- a/src/southbridge/amd/agesa/hudson/smbus_spd.c
+++ b/src/southbridge/amd/agesa/hudson/smbus_spd.c
@@ -15,12 +15,11 @@
#include <device/pci_def.h>
#include <device/device.h>
-
+#include <console/console.h>
/* warning: Porting.h includes an open #pragma pack(1) */
#include <Porting.h>
#include <AGESA.h>
#include <amdlib.h>
-
#include <northbridge/amd/agesa/dimmSpd.h>
/*-----------------------------------------------------------------------------
diff --git a/src/southbridge/amd/cimx/sb900/cfg.c b/src/southbridge/amd/cimx/sb900/cfg.c
index bc7e742b28..353d5771e0 100644
--- a/src/southbridge/amd/cimx/sb900/cfg.c
+++ b/src/southbridge/amd/cimx/sb900/cfg.c
@@ -13,12 +13,12 @@
* GNU General Public License for more details.
*/
-
+#include <console/console.h>
#include <string.h>
+
#include "SbPlatform.h"
#include "platform_cfg.h"
-
/**
* @brief South Bridge CIMx configuration
*
diff --git a/src/southbridge/amd/pi/hudson/smbus_spd.c b/src/southbridge/amd/pi/hudson/smbus_spd.c
index 8d67b1e678..c49ccffc4d 100644
--- a/src/southbridge/amd/pi/hudson/smbus_spd.c
+++ b/src/southbridge/amd/pi/hudson/smbus_spd.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <console/console.h>
#include <device/pci_def.h>
#include <device/device.h>
@@ -20,7 +21,6 @@
#include <Porting.h>
#include <AGESA.h>
#include <amdlib.h>
-
#include <northbridge/amd/pi/dimmSpd.h>
/*-----------------------------------------------------------------------------
diff --git a/src/southbridge/broadcom/bcm5785/early_smbus.c b/src/southbridge/broadcom/bcm5785/early_smbus.c
index bcbfb12990..5aa6ee2ad1 100644
--- a/src/southbridge/broadcom/bcm5785/early_smbus.c
+++ b/src/southbridge/broadcom/bcm5785/early_smbus.c
@@ -15,7 +15,9 @@
*/
#include <arch/io.h>
+#include <console/console.h>
#include <device/pci_ops.h>
+
#include "smbus.h"
#define SMBUS_IO_BASE 0x1000