summaryrefslogtreecommitdiff
path: root/src/drivers/aspeed
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-19 09:32:36 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-11-17 09:01:14 +0000
commit27718ac87f9dd117fa047f7292d7014ecb1e96a9 (patch)
treeaef8fe3daa00c42158bbf60722b2bcce7f8679e9 /src/drivers/aspeed
parentadd3a062687a94773711b3bbd57658b2038db0ce (diff)
src: Add missing 'include <console/console.h>'
"printk()" needs <console/console.h>. Change-Id: Iac6b7000bcd8b1335fa3a0ba462a63aed2dc85b8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45539 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/drivers/aspeed')
-rw-r--r--src/drivers/aspeed/common/ast_mode_corebootfb.c2
-rw-r--r--src/drivers/aspeed/common/ast_post.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/aspeed/common/ast_mode_corebootfb.c b/src/drivers/aspeed/common/ast_mode_corebootfb.c
index b5f794bcb6..bf974ffffe 100644
--- a/src/drivers/aspeed/common/ast_mode_corebootfb.c
+++ b/src/drivers/aspeed/common/ast_mode_corebootfb.c
@@ -2,6 +2,8 @@
/*
* Copied from Linux drivers/gpu/drm/ast/ast_mode.c
*/
+
+#include <console/console.h>
#include <edid.h>
#include <device/pci_def.h>
diff --git a/src/drivers/aspeed/common/ast_post.c b/src/drivers/aspeed/common/ast_post.c
index b6e8e91d23..e644d910f7 100644
--- a/src/drivers/aspeed/common/ast_post.c
+++ b/src/drivers/aspeed/common/ast_post.c
@@ -2,6 +2,7 @@
#define COREBOOT_AST_FAILOVER_TIMEOUT 10000000
+#include <console/console.h>
#include <delay.h>
#include "ast_drv.h"