aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/via/common/via_early_smbus.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-13 09:55:00 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-15 05:02:35 +0000
commit9330b25b6fe833b431d7837ad3b43ac8f68af216 (patch)
tree7d0ec048ec0c7b73274d62c2442aacee795c06d4 /src/southbridge/via/common/via_early_smbus.h
parent301d47fdd6547125f8e0418f2c05b3b586bd03cf (diff)
sb/via/common: Fix indirect includes
Change-Id: Id6565abd15d6904effbf55e5d1ea8664ef338c83 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31870 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/via/common/via_early_smbus.h')
-rw-r--r--src/southbridge/via/common/via_early_smbus.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/southbridge/via/common/via_early_smbus.h b/src/southbridge/via/common/via_early_smbus.h
index 5f66822b88..1dce9b6049 100644
--- a/src/southbridge/via/common/via_early_smbus.h
+++ b/src/southbridge/via/common/via_early_smbus.h
@@ -35,6 +35,7 @@
/**
* \brief SMBus IO ports in relation to the base IO port
*/
+
#define SMBHSTSTAT(base) ((u16)base + 0x0)
#define SMBSLVSTAT(base) ((u16)base + 0x1)
#define SMBHSTCTL(base) ((u16)base + 0x2)
@@ -48,6 +49,3 @@
#define SMBSLVDATA (base) ((u16)base + 0xa)
#define SMBUS_TIMEOUT (100*1000*10)
-
-#include <device/early_smbus.h>
-#include <arch/io.h>