From 0b158d43dfbbb72bbbed26ef87fddecfe072756d Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Fri, 11 Mar 2022 09:33:50 +0000 Subject: [PATCH] mb/starlabs/lite: Move Verb Table to variant directory Move the verb table to variant directory to allow for different tables for different variants. Signed-off-by: Sean Rhodes Change-Id: I4260188057d1c3b4e6ea7c82f085fad0cc244881 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62755 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/starlabs/lite/Makefile.inc | 1 - src/mainboard/starlabs/lite/variants/glk/Makefile.inc | 1 + src/mainboard/starlabs/lite/{ => variants/glk}/hda_verb.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/mainboard/starlabs/lite/{ => variants/glk}/hda_verb.c (100%) diff --git a/src/mainboard/starlabs/lite/Makefile.inc b/src/mainboard/starlabs/lite/Makefile.inc index 019d560ee6..e7f8277787 100644 --- a/src/mainboard/starlabs/lite/Makefile.inc +++ b/src/mainboard/starlabs/lite/Makefile.inc @@ -6,7 +6,6 @@ subdirs-y += variants/$(VARIANT_DIR) bootblock-y += bootblock.c ramstage-y += devtree.c -ramstage-y += hda_verb.c ramstage-y += mainboard.c ramstage-y += smbios.c ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/starlabs/lite/variants/glk/Makefile.inc b/src/mainboard/starlabs/lite/variants/glk/Makefile.inc index 05b0677380..ae3ec84c1d 100644 --- a/src/mainboard/starlabs/lite/variants/glk/Makefile.inc +++ b/src/mainboard/starlabs/lite/variants/glk/Makefile.inc @@ -3,5 +3,6 @@ bootblock-y += gpio.c ramstage-y += gpio.c +ramstage-y += hda_verb.c romstage-y += romstage.c diff --git a/src/mainboard/starlabs/lite/hda_verb.c b/src/mainboard/starlabs/lite/variants/glk/hda_verb.c similarity index 100% rename from src/mainboard/starlabs/lite/hda_verb.c rename to src/mainboard/starlabs/lite/variants/glk/hda_verb.c