From b22a435d228f3e2288736a84147a5713bf2424e5 Mon Sep 17 00:00:00 2001 From: Sheng-Liang Pan Date: Fri, 15 Oct 2021 19:15:13 +0800 Subject: [PATCH] mb/google/trogdor: determine which panel to use by panel_id for quackingstick panel_id 6 for AUO B101UAN08.3. BUG=b:201263032 BRANCH=none TEST=make Signed-off-by: Sheng-Liang Pan Change-Id: I076ded9300c2ec1704a566722870bd0d1a20e9d6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58363 Reviewed-by: Bob Moragues Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/mainboard/google/trogdor/mainboard.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c index 55a341fecb..f007f45dd1 100644 --- a/src/mainboard/google/trogdor/mainboard.c +++ b/src/mainboard/google/trogdor/mainboard.c @@ -157,6 +157,15 @@ static struct panel_serializable_data *get_mipi_panel(enum lb_fb_orientation *or } } + if (CONFIG(BOARD_GOOGLE_QUACKINGSTICK)) { + switch (panel_id) { + case 6: + cbfs_filename = "panel-AUO_B101UAN08_3"; + *orientation = LB_FB_ORIENTATION_LEFT_UP; + break; + } + } + if (CONFIG(BOARD_GOOGLE_WORMDINGLER)) { switch (panel_id) { case 0: