summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>