diff options
author | Chris <codewalker@hardkernel.com> | 2021-07-01 14:21:44 +0900 |
---|---|---|
committer | Gerrit Code Review <gerrit@almond.hardkernel.com> | 2021-07-01 14:21:44 +0900 |
commit | 0824994b08cc19b1fa254b5f01be2fed29485457 (patch) | |
tree | 4b63910eac32bc3d8070b8ac5eff30ccfb72fc7e | |
parent | 861061e6234ecc914bbb2d76987f7428bae35782 (diff) | |
parent | b4bacc3db66740534151a85d1bd9103905564e4e (diff) | |
download | u-boot-odroid-c1-0824994b08cc19b1fa254b5f01be2fed29485457.tar.gz |
Merge "ODROID-G12: Add 4k variable for 4k resoultion." into odroidg12-v2015.01-20210329
-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")); } |