summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/clevo/cml-u/Makefile.inc2
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c2
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/include/variant/gpio.h (renamed from src/mainboard/clevo/cml-u/variants/l140cu/gpio.h)0
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c2
4 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/clevo/cml-u/Makefile.inc b/src/mainboard/clevo/cml-u/Makefile.inc
index 1d9ed2d7a6..3af82dd2c9 100644
--- a/src/mainboard/clevo/cml-u/Makefile.inc
+++ b/src/mainboard/clevo/cml-u/Makefile.inc
@@ -1,2 +1,4 @@
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
+
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
subdirs-y += variants/$(VARIANT_DIR)
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c b/src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c
index 2b673021b5..427b02328f 100644
--- a/src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c
+++ b/src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c
@@ -2,7 +2,7 @@
#include <bootblock_common.h>
#include <gpio.h>
-#include "gpio.h"
+#include <variant/gpio.h>
void bootblock_mainboard_init(void)
{
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/gpio.h b/src/mainboard/clevo/cml-u/variants/l140cu/include/variant/gpio.h
index 1f7d119947..1f7d119947 100644
--- a/src/mainboard/clevo/cml-u/variants/l140cu/gpio.h
+++ b/src/mainboard/clevo/cml-u/variants/l140cu/include/variant/gpio.h
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c b/src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c
index 46651e8c16..037409cd6a 100644
--- a/src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c
+++ b/src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <soc/ramstage.h>
-#include "gpio.h"
+#include <variant/gpio.h>
void mainboard_silicon_init_params(FSP_S_CONFIG *params)
{