summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-02 20:16:23 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-03-05 16:19:37 +0000
commit7362768c5097249bf8823d5c4446804f3ccd87e6 (patch)
treeefc8b34a8dcd570267e1519c16da09c0d77780aa /src/southbridge/nvidia
parent1368244d487096685f1ef340ab6628be8c1d7149 (diff)
arch/io.h: Drop includes in fam10 romstages
These files suffer from .c includes. Change-Id: Id836595290922fcbd108a5ed576fc640b2530711 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31696 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/nvidia')
-rw-r--r--src/southbridge/nvidia/ck804/early_setup_car.c1
-rw-r--r--src/southbridge/nvidia/ck804/smbus.h1
-rw-r--r--src/southbridge/nvidia/mcp55/early_setup_car.c2
-rw-r--r--src/southbridge/nvidia/mcp55/smbus.h1
4 files changed, 5 insertions, 0 deletions
diff --git a/src/southbridge/nvidia/ck804/early_setup_car.c b/src/southbridge/nvidia/ck804/early_setup_car.c
index 25faa356e1..bc1e781115 100644
--- a/src/southbridge/nvidia/ck804/early_setup_car.c
+++ b/src/southbridge/nvidia/ck804/early_setup_car.c
@@ -16,6 +16,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <southbridge/amd/common/reset.h>
#include "ck804.h"
diff --git a/src/southbridge/nvidia/ck804/smbus.h b/src/southbridge/nvidia/ck804/smbus.h
index 40b8cb7dcd..cec62b3f49 100644
--- a/src/southbridge/nvidia/ck804/smbus.h
+++ b/src/southbridge/nvidia/ck804/smbus.h
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <device/smbus_def.h>
#define SMBHSTSTAT 0x1
diff --git a/src/southbridge/nvidia/mcp55/early_setup_car.c b/src/southbridge/nvidia/mcp55/early_setup_car.c
index cc5e539fce..582cb5254e 100644
--- a/src/southbridge/nvidia/mcp55/early_setup_car.c
+++ b/src/southbridge/nvidia/mcp55/early_setup_car.c
@@ -15,6 +15,8 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
+
#ifdef UNUSED_CODE
int set_ht_link_buffer_counts_chain(u8 ht_c_num, unsigned vendorid, unsigned val);
diff --git a/src/southbridge/nvidia/mcp55/smbus.h b/src/southbridge/nvidia/mcp55/smbus.h
index 274ccfea38..f2704525bb 100644
--- a/src/southbridge/nvidia/mcp55/smbus.h
+++ b/src/southbridge/nvidia/mcp55/smbus.h
@@ -17,6 +17,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <device/smbus_def.h>
#define SMBHSTSTAT 0x1