diff options
author | Chris <codewalker@hardkernel.com> | 2021-06-22 09:06:31 +0900 |
---|---|---|
committer | Chris <codewalker@hardkernel.com> | 2021-06-22 09:06:31 +0900 |
commit | 766167bbe787e494e47376b31cd017b897e9594c (patch) | |
tree | e7cfea9e1ae240dcaf33566eb998be74ee8026fa | |
parent | 1e9fb29aa9efd1cc6964cbf52ddf7b67896427d6 (diff) | |
download | u-boot-odroid-c1-766167bbe787e494e47376b31cd017b897e9594c.tar.gz |
ODROID-G12: Add 4k variable for 4k resoultion.g12_9.0.0_64_20210628
C4 and N2 with 2GByte variant do not support 4k in recovery.
so it must change to 1080p when 4k monitor detected.
Change-Id: Ib3d73c2fdc3628059f49cfca76159607d5eea4a1
-rw-r--r-- | common/cmd_hdmitx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_hdmitx.c b/common/cmd_hdmitx.c index e1d6014060..ad1422aab7 100644 --- a/common/cmd_hdmitx.c +++ b/common/cmd_hdmitx.c @@ -123,6 +123,10 @@ READ_EDID: /* select best resolution */ setenv("hdmimode", select_best_resolution()); + if (strncmp((const char *)select_best_resolution(), "2160p", 5) == 0) + setenv("4k", "yes"); + else + setenv("4k", "no"); setenv("vout", getenv("hdmimode")); } |