diff options
author | Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com> | 2021-10-15 19:15:13 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-21 01:57:41 +0000 |
commit | b22a435d228f3e2288736a84147a5713bf2424e5 (patch) | |
tree | a51c89ef5285b3ebd3a5925fdca58fdfd844392f /src | |
parent | 9ce51c3585492a0f5dcfab27c9dc58deb632ac5a (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/trogdor/mainboard.c | 9 |
1 files changed, 9 insertions, 0 deletions
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: |