aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-14 12:52:54 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:14:04 +0000
commite955fa33f6f994158a8bb2454505354ffed9ec9d (patch)
tree080749668d3ce0029f76a5a19c127720468bd279 /src/drivers
parent68999a8b869be132f1c8c242d9a6167896920be3 (diff)
src/drivers/xgi: Move coreboot related includes to xgi_coreboot.h
Change-Id: Ia18c77876121594a272a07d56acfaa863d0ccb25 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29307 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/xgi/common/vb_init.c2
-rw-r--r--src/drivers/xgi/common/vb_setmode.c2
-rw-r--r--src/drivers/xgi/common/vb_util.c3
-rw-r--r--src/drivers/xgi/common/xgi_coreboot.h1
4 files changed, 5 insertions, 3 deletions
diff --git a/src/drivers/xgi/common/vb_init.c b/src/drivers/xgi/common/vb_init.c
index a20c0683d4..b9191abe3d 100644
--- a/src/drivers/xgi/common/vb_init.c
+++ b/src/drivers/xgi/common/vb_init.c
@@ -17,7 +17,7 @@
* GNU General Public License for more details.
*/
-#include <delay.h>
+/* coreboot related includes come indirectly from xgi_coreboot.h */
#include "xgi_coreboot.h"
#include "vstruct.h"
diff --git a/src/drivers/xgi/common/vb_setmode.c b/src/drivers/xgi/common/vb_setmode.c
index 162d00cfcf..64412566a1 100644
--- a/src/drivers/xgi/common/vb_setmode.c
+++ b/src/drivers/xgi/common/vb_setmode.c
@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
-#include <delay.h>
+/* coreboot related includes come indirectly from xgi_coreboot.h */
#include "xgi_coreboot.h"
#include "vstruct.h"
diff --git a/src/drivers/xgi/common/vb_util.c b/src/drivers/xgi/common/vb_util.c
index f71ad5680a..248b8af5f8 100644
--- a/src/drivers/xgi/common/vb_util.c
+++ b/src/drivers/xgi/common/vb_util.c
@@ -14,8 +14,9 @@
* GNU General Public License for more details.
*/
-#include "xgi_coreboot.h"
+/* coreboot related includes come indirectly from xgi_coreboot.h */
+#include "xgi_coreboot.h"
#include "vgatypes.h"
#include "vb_util.h"
diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h
index 41952d6925..5e593eb1c2 100644
--- a/src/drivers/xgi/common/xgi_coreboot.h
+++ b/src/drivers/xgi/common/xgi_coreboot.h
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <arch/io.h>
+#include <delay.h>
#include <device/mmio.h>
#include <console/console.h>
#include <device/device.h>