summaryrefslogtreecommitdiff
path: root/src/lib
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/lib
parent20eaef024cb06677de10d018e6f70c28d1841290 (diff)
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/lib')
-rw-r--r--src/lib/cbfs.c1
-rw-r--r--src/lib/cbmem_console.c1
-rw-r--r--src/lib/fit.c1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 728674f0da..91368fb67d 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -15,6 +15,7 @@
*/
#include <assert.h>
+#include <console/console.h>
#include <string.h>
#include <stdlib.h>
#include <boot_device.h>
diff --git a/src/lib/cbmem_console.c b/src/lib/cbmem_console.c
index faa937b381..df2d1ffa96 100644
--- a/src/lib/cbmem_console.c
+++ b/src/lib/cbmem_console.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <console/console.h>
#include <console/cbmem_console.h>
#include <console/uart.h>
#include <cbmem.h>
diff --git a/src/lib/fit.c b/src/lib/fit.c
index 4e2b75c1a4..a8bca47bdc 100644
--- a/src/lib/fit.c
+++ b/src/lib/fit.c
@@ -16,6 +16,7 @@
*/
#include <assert.h>
+#include <console/console.h>
#include <endian.h>
#include <stdint.h>
#include <bootmem.h>