summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2017-02-10 09:21:34 +0300
committerJoy Cho <joy.cho@hardkernel.com>2017-02-10 09:21:34 +0300
commit09d420de9f5d1b7f4e374b69cf48e655406f02b5 (patch)
tree22de3e4f248f511d44103ff8de80c48c496cacc3
parent6b347a1866f06e2f26423b54f5d90ce665684a0f (diff)
downloadu-boot-09d420de9f5d1b7f4e374b69cf48e655406f02b5.tar.xz
ODROID-C2: Clear osd layer during initial boot process
Change-Id: Ia155a075f6a678667cc661c7adc20bb0a867839b
-rw-r--r--common/cmd_showlogo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/cmd_showlogo.c b/common/cmd_showlogo.c
index e7ff6e354c..1bcc8a7f5b 100644
--- a/common/cmd_showlogo.c
+++ b/common/cmd_showlogo.c
@@ -62,6 +62,11 @@ static int display_logo(const char* mode, const char* bmp_width, const char* bmp
int ret = 0;
int i = 0;
+ if (!strcmp("custombuilt", mode)) {
+ run_command("osd clear", 0);
+ return 1;
+ }
+
for (i = 0; i < ARRAY_SIZE(c2_res_list); ++i) {
if (!strcmp(c2_res_list[i].name, mode)) {
setenv("display_width", simple_itoa(c2_res_list[i].display_width));