diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-06 19:41:42 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-01-14 18:18:26 +0000 |
commit | f555a58abc487270d4ba42527b1b43850bd718c0 (patch) | |
tree | 5285cf1bb4cc64cedf5c9defa78ea63803aca3e5 /src/soc/intel/broadwell/romstage/pch.c | |
parent | 542fa6de384d4b79d8964512b4088bcd90863bd2 (diff) | |
download | coreboot-f555a58abc487270d4ba42527b1b43850bd718c0.tar.xz |
sb/intel/common: Declare common smbus_base() and enable_smbus()
This avoids including platform-specific headers with different
filenames from common code.
Change-Id: Idf9893e55949d63f3ceca2249e618d0f81320321
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38232
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/broadwell/romstage/pch.c')
-rw-r--r-- | src/soc/intel/broadwell/romstage/pch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/romstage/pch.c b/src/soc/intel/broadwell/romstage/pch.c index af8ea53dea..e8f4eb89ee 100644 --- a/src/soc/intel/broadwell/romstage/pch.c +++ b/src/soc/intel/broadwell/romstage/pch.c @@ -16,6 +16,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <device/pci_ops.h> +#include <device/smbus_host.h> #include <reg_script.h> #include <soc/iomap.h> #include <soc/lpc.h> |