summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-15 08:42:17 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-26 06:44:40 +0000
commit92f46aaac7104c62ab3956dc32af5ccbddc944f1 (patch)
tree39fc9cab1ca29fb2fcf6f5ae136384f56e23dff5 /src/mainboard/lenovo
parentf209b18df3b66d78a9838787182d40fc72eee010 (diff)
src: Include <arch/io.h> when appropriate
Change-Id: I4077b9dfeeb2a9126c35bbdd3d14c52e55a5e87c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45404 Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t440p/smihandler.c1
-rw-r--r--src/mainboard/lenovo/x201/romstage.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t440p/smihandler.c b/src/mainboard/lenovo/t440p/smihandler.c
index 8cc5135e6f..de48240e88 100644
--- a/src/mainboard/lenovo/t440p/smihandler.c
+++ b/src/mainboard/lenovo/t440p/smihandler.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/io.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c
index 05a4cf21f4..d8e82fcb74 100644
--- a/src/mainboard/lenovo/x201/romstage.c
+++ b/src/mainboard/lenovo/x201/romstage.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
-#include <arch/io.h>
#include <ec/acpi/ec.h>
#include <device/smbus_host.h>
#include <northbridge/intel/ironlake/ironlake.h>