diff options
-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")); } |