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>
This commit is contained in:
Elyes HAOUAS 2019-03-13 09:55:00 +01:00 committed by Kyösti Mälkki
parent 301d47fdd6
commit 9330b25b6f
7 changed files with 17 additions and 4 deletions

View File

@ -14,7 +14,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include "via_early_smbus.h" #include <arch/io.h>
#include <device/early_smbus.h>
/** /**
* \brief Brief delay for SMBus transactions * \brief Brief delay for SMBus transactions

View File

@ -14,6 +14,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/early_smbus.h>
#include "via_early_smbus.h" #include "via_early_smbus.h"
/** /**

View File

@ -14,6 +14,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <device/early_smbus.h>
#include "via_early_smbus.h" #include "via_early_smbus.h"
/** /**

View File

@ -14,6 +14,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/early_smbus.h>
#include "via_early_smbus.h" #include "via_early_smbus.h"
/** /**

View File

@ -14,6 +14,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/early_smbus.h>
#include "via_early_smbus.h" #include "via_early_smbus.h"
/** /**

View File

@ -14,6 +14,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/early_smbus.h>
#include "via_early_smbus.h" #include "via_early_smbus.h"
/** /**

View File

@ -35,6 +35,7 @@
/** /**
* \brief SMBus IO ports in relation to the base IO port * \brief SMBus IO ports in relation to the base IO port
*/ */
#define SMBHSTSTAT(base) ((u16)base + 0x0) #define SMBHSTSTAT(base) ((u16)base + 0x0)
#define SMBSLVSTAT(base) ((u16)base + 0x1) #define SMBSLVSTAT(base) ((u16)base + 0x1)
#define SMBHSTCTL(base) ((u16)base + 0x2) #define SMBHSTCTL(base) ((u16)base + 0x2)
@ -48,6 +49,3 @@
#define SMBSLVDATA (base) ((u16)base + 0xa) #define SMBSLVDATA (base) ((u16)base + 0xa)
#define SMBUS_TIMEOUT (100*1000*10) #define SMBUS_TIMEOUT (100*1000*10)
#include <device/early_smbus.h>
#include <arch/io.h>