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 <sheng-liang.pan@quanta.corp-partner.google.com>
Change-Id: I076ded9300c2ec1704a566722870bd0d1a20e9d6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58363
Reviewed-by: Bob Moragues <moragues@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sheng-Liang Pan 2021-10-15 19:15:13 +08:00 committed by Felix Held
parent 9ce51c3585
commit b22a435d22
1 changed files with 9 additions and 0 deletions

View File

@ -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)) { if (CONFIG(BOARD_GOOGLE_WORMDINGLER)) {
switch (panel_id) { switch (panel_id) {
case 0: case 0: