commit | 11f6177ebbee5b593c176cd2488153dca8c4dd0d | [log] [tgz] |
---|---|---|
author | Tim Crawford <tcrawford@system76.com> | Wed Aug 17 11:51:19 2022 -0600 |
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | Fri Aug 19 14:24:07 2022 +0000 |
tree | bd890e3e2022d6732b50486a90bce94726b3cfe0 | |
parent | 3a5217a77b2561eb122d881581119753f2cd0039 [diff] |
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>
diff --git a/src/mainboard/system76/gaze16/variant.h b/src/mainboard/system76/gaze16/include/variant/romstage.h similarity index 70% rename from src/mainboard/system76/gaze16/variant.h rename to src/mainboard/system76/gaze16/include/variant/romstage.h index 1f66112..9008cb9 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 119c3f5..f69bae9 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 aa9f34f..f28c0c2 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 578a61e..ed8397c 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) {