summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-11-21 13:34:07 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-23 12:01:48 +0000
commite7265a9b10c0bb8169891b3927ebe9e2d31cdd18 (patch)
tree1bd3b223a6d7c6bdd9f40b3f7ee2430c8e38e88a /src/mainboard/clevo/cml-u
parentaef866be11a0d5d2a84070e51da2f25c40936ad3 (diff)
mb/clevo/cml-u: Use include folder for header files
Change-Id: I50be3d9b829f624cbe460060c40482047f39774c Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47833 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/clevo/cml-u')
-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)
{