From 11f6177ebbee5b593c176cd2488153dca8c4dd0d Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 17 Aug 2022 11:51:19 -0600 Subject: mb/system76/gaze16: Move stray header to include folder Change-Id: Id3367a708744d6a3ed0ba69ed8e0cafe0a5934b6 Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/66166 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/system76/gaze16/include/variant/romstage.h | 10 ++++++++++ src/mainboard/system76/gaze16/romstage.c | 3 +-- src/mainboard/system76/gaze16/variant.h | 10 ---------- src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c | 2 +- src/mainboard/system76/gaze16/variants/gaze16-3060/romstage.c | 2 +- 5 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 src/mainboard/system76/gaze16/include/variant/romstage.h delete mode 100644 src/mainboard/system76/gaze16/variant.h (limited to 'src/mainboard/system76/gaze16') diff --git a/src/mainboard/system76/gaze16/include/variant/romstage.h b/src/mainboard/system76/gaze16/include/variant/romstage.h new file mode 100644 index 0000000000..9008cb95f2 --- /dev/null +++ b/src/mainboard/system76/gaze16/include/variant/romstage.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef VARIANT_ROMSTAGE_H +#define VARIANT_ROMSTAGE_H + +#include + +void variant_memory_init_params(FSPM_UPD *mupd); + +#endif diff --git a/src/mainboard/system76/gaze16/romstage.c b/src/mainboard/system76/gaze16/romstage.c index 119c3f5d38..f69bae98eb 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 #include #include -#include "variant.h" +#include static const struct mb_cfg board_cfg = { .type = MEM_TYPE_DDR4, diff --git a/src/mainboard/system76/gaze16/variant.h b/src/mainboard/system76/gaze16/variant.h deleted file mode 100644 index 1f66112f5a..0000000000 --- a/src/mainboard/system76/gaze16/variant.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef VARIANT_H -#define VARIANT_H - -#include - -void variant_memory_init_params(FSPM_UPD *mupd); - -#endif diff --git a/src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c b/src/mainboard/system76/gaze16/variants/gaze16-3050/romstage.c index aa9f34f7ad..f28c0c23d3 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 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 578a61e76d..ed8397caf8 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 +#include void variant_memory_init_params(FSPM_UPD *mupd) { -- cgit v1.2.3