summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-04-05 18:11:19 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-04-23 10:01:21 +0000
commit351e3e520ba71b4aafaf930af37f78b71c1d7251 (patch)
treeeb872d8fb0aaefad7b313e9dd5e31fe1e7cf3242 /src/drivers
parent20eaef024cb06677de10d018e6f70c28d1841290 (diff)
downloadcoreboot-351e3e520ba71b4aafaf930af37f78b71c1d7251.tar.xz
src: Use include <console/console.h> when appropriate
Change-Id: Iddba5b03fc554a6edc4b26458d834e47958a6b08 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32214 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: David Guckian
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/amd/agesa/state_machine.c4
-rw-r--r--src/drivers/generic/gpio_keys/gpio_keys.c1
-rw-r--r--src/drivers/generic/gpio_regulator/gpio_regulator.c1
-rw-r--r--src/drivers/intel/fsp1_0/fsp_util.h2
-rw-r--r--src/drivers/intel/gma/int15.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/drivers/amd/agesa/state_machine.c b/src/drivers/amd/agesa/state_machine.c
index c6e36b2259..dfd64c3d52 100644
--- a/src/drivers/amd/agesa/state_machine.c
+++ b/src/drivers/amd/agesa/state_machine.c
@@ -16,17 +16,15 @@
#include <stdint.h>
#include <string.h>
-
#include <arch/acpi.h>
#include <arch/cpu.h>
#include <bootstate.h>
#include <cbfs.h>
-
+#include <console/console.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <amdlib.h>
-
#include <AMD.h>
#if CONFIG(CPU_AMD_AGESA_OPENSOURCE)
diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c
index 6e18a8a1b0..2cf8f28e0b 100644
--- a/src/drivers/generic/gpio_keys/gpio_keys.c
+++ b/src/drivers/generic/gpio_keys/gpio_keys.c
@@ -15,7 +15,6 @@
#include <arch/acpi_device.h>
#include <arch/acpigen.h>
-#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
#include <string.h>
diff --git a/src/drivers/generic/gpio_regulator/gpio_regulator.c b/src/drivers/generic/gpio_regulator/gpio_regulator.c
index 3b335252bb..3b7718c6f0 100644
--- a/src/drivers/generic/gpio_regulator/gpio_regulator.c
+++ b/src/drivers/generic/gpio_regulator/gpio_regulator.c
@@ -15,7 +15,6 @@
#include <arch/acpi_device.h>
#include <arch/acpigen.h>
-#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
#include <string.h>
diff --git a/src/drivers/intel/fsp1_0/fsp_util.h b/src/drivers/intel/fsp1_0/fsp_util.h
index e0da19e8ac..e09bbd9b65 100644
--- a/src/drivers/intel/fsp1_0/fsp_util.h
+++ b/src/drivers/intel/fsp1_0/fsp_util.h
@@ -17,6 +17,8 @@
#define FSP_UTIL_H
#include <chipset_fsp_util.h>
+#include <console/console.h>
+
#include "fsp_values.h"
#if CONFIG(ENABLE_MRC_CACHE)
diff --git a/src/drivers/intel/gma/int15.c b/src/drivers/intel/gma/int15.c
index 5caa1b38d8..80949d1bf8 100644
--- a/src/drivers/intel/gma/int15.c
+++ b/src/drivers/intel/gma/int15.c
@@ -16,6 +16,8 @@
#include <x86emu/x86emu.h>
#include <arch/interrupt.h>
+#include <console/console.h>
+
#include "int15.h"
static int active_lfp, pfit, display, panel_type;