From d3089a36d5b9c25ae2827aacfdc69c5ac5b49a11 Mon Sep 17 00:00:00 2001 From: Ruihai Zhou Date: Tue, 7 Nov 2023 16:29:50 +0800 Subject: mb/google/geralt: Move backlight-related functions to common panel.c These backlight related functions can be reused in other variants, move them out to the panel.c. Also the panel_geralt.c should be used for Geralt, enable it on Geralt board only. BUG=b:308968270 TEST=emerge-geralt coreboot BRANCH=None Change-Id: I5d4035d5f480551c428c450826e23bf77f2fe08a Signed-off-by: Ruihai Zhou Reviewed-on: https://review.coreboot.org/c/coreboot/+/78955 Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) Reviewed-by: cong yang --- src/mainboard/google/geralt/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/geralt/Makefile.inc') diff --git a/src/mainboard/google/geralt/Makefile.inc b/src/mainboard/google/geralt/Makefile.inc index a0ac297468..2b1f313ec9 100644 --- a/src/mainboard/google/geralt/Makefile.inc +++ b/src/mainboard/google/geralt/Makefile.inc @@ -23,6 +23,6 @@ ramstage-y += chromeos.c ramstage-y += display.c ramstage-y += mainboard.c ramstage-y += panel.c -ramstage-y += panel_geralt.c ramstage-y += regulator.c ramstage-y += reset.c +ramstage-$(CONFIG_BOARD_GOOGLE_GERALT) += panel_geralt.c -- cgit v1.2.3