diff options
author | Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> | 2023-11-07 16:29:50 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-11-16 12:04:07 +0000 |
commit | d3089a36d5b9c25ae2827aacfdc69c5ac5b49a11 (patch) | |
tree | 8137343f75e417b94fef60039d9d0f0c37c06767 /src/mainboard/google/geralt/Makefile.inc | |
parent | 77eaec6587e421dd1197f36de9e7c4b3a1afafdc (diff) |
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 <zhouruihai@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78955
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: cong yang <yangcong5@huaqin.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/geralt/Makefile.inc')
-rw-r--r-- | src/mainboard/google/geralt/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |