mb/google/geralt: Set orientation to LB_FB_ORIENTATION_BOTTOM_UP

Set orientation to LB_FB_ORIENTATION_BOTTOM_UP to align the volume
up/down direction with menu up/down in FW screen.

BUG=b:274749478
TEST=see FW screen in portrait mode.
TEST=volume key behaves as expected

Change-Id: If32859c4bf256c97147622ff04a17fc2ec80303d
Signed-off-by: Yidi Lin <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73961
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Yidi Lin 2023-03-23 17:14:08 +08:00 committed by Lean Sheng Tan
parent c826c11b50
commit 13ed70f10b
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ int configure_display(void)
mtk_ddp_mode_set(&edid, panel->disp_path);
info = fb_new_framebuffer_info_from_edid(&edid, (uintptr_t)0);
if (info)
fb_set_orientation(info, LB_FB_ORIENTATION_NORMAL);
fb_set_orientation(info, LB_FB_ORIENTATION_BOTTOM_UP);
return 0;
}