summaryrefslogtreecommitdiffstats
path: root/src/mainboard/system76
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2022-08-17 11:51:19 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-19 14:24:07 +0000
commit11f6177ebbee5b593c176cd2488153dca8c4dd0d (patch)
treebd890e3e2022d6732b50486a90bce94726b3cfe0 /src/mainboard/system76
parent3a5217a77b2561eb122d881581119753f2cd0039 (diff)
downloadcoreboot-11f6177ebbee5b593c176cd2488153dca8c4dd0d.tar.gz
coreboot-11f6177ebbee5b593c176cd2488153dca8c4dd0d.tar.bz2
coreboot-11f6177ebbee5b593c176cd2488153dca8c4dd0d.zip
mb/system76/gaze16: Move stray header to include folder
Change-Id: Id3367a708744d6a3ed0ba69ed8e0cafe0a5934b6 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66166 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76')
-rw-r--r--src/mainboard/system76/gaze16/include/variant/romstage.h (renamed from src/mainboard/system76/gaze16/variant.h)4
-rw-r--r--src/mainboard/system76/gaze16/romstage.c3
-rw-r--r--src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c2
-rw-r--r--src/mainboard/system76/gaze16/variants/gaze16-3060/romstage.c2
4 files changed, 5 insertions, 6 deletions
diff --git a/src/mainboard/system76/gaze16/variant.h b/src/mainboard/system76/gaze16/include/variant/romstage.h
index 1f66112f5a21..9008cb95f2a0 100644
--- a/src/mainboard/system76/gaze16/variant.h
+++ b/src/mainboard/system76/gaze16/include/variant/romstage.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef VARIANT_H
-#define VARIANT_H
+#ifndef VARIANT_ROMSTAGE_H
+#define VARIANT_ROMSTAGE_H
#include <fsp/soc_binding.h>
diff --git a/src/mainboard/system76/gaze16/romstage.c b/src/mainboard/system76/gaze16/romstage.c
index 119c3f5d38e4..f69bae98eb16 100644
--- a/src/mainboard/system76/gaze16/romstage.c
+++ b/src/mainboard/system76/gaze16/romstage.c
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <fsp/util.h>
#include <soc/meminit.h>
#include <soc/romstage.h>
-#include "variant.h"
+#include <variant/romstage.h>
static const struct mb_cfg board_cfg = {
.type = MEM_TYPE_DDR4,
diff --git a/src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c b/src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c
index aa9f34f7ad16..f28c0c23d36c 100644
--- a/src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c
+++ b/src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include "../../variant.h"
+#include <variant/romstage.h>
void variant_memory_init_params(FSPM_UPD *mupd)
{
diff --git a/src/mainboard/system76/gaze16/variants/gaze16-3060/romstage.c b/src/mainboard/system76/gaze16/variants/gaze16-3060/romstage.c
index 578a61e76d0b..ed8397caf86c 100644
--- a/src/mainboard/system76/gaze16/variants/gaze16-3060/romstage.c
+++ b/src/mainboard/system76/gaze16/variants/gaze16-3060/romstage.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include "../../variant.h"
#include <soc/pch.h>
+#include <variant/romstage.h>
void variant_memory_init_params(FSPM_UPD *mupd)
{