summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2020-05-25 09:07:28 +0300
committerJoy Cho <joy.cho@hardkernel.com>2020-05-25 09:21:26 +0300
commit8273f6996fd8c275ee6ede942b48bbc4c1142cd3 (patch)
treefc4d0e4d43f601e13edea793846bc7ea3ed89c92
parente7b255b54c42c8a805dee7a9409a8838cfa13586 (diff)
downloadu-boot-8273f6996fd8c275ee6ede942b48bbc4c1142cd3.tar.xz
odroid-goA: Skip default charging display in case of manufacturetravis/odroidgo2-130
Change-Id: I0d86462df32b1c2696d63a4db4422f114cf50ea5
-rw-r--r--board/rockchip/odroidgo2/odroidgo2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/rockchip/odroidgo2/odroidgo2.c b/board/rockchip/odroidgo2/odroidgo2.c
index 102644fd2b..21d1b97ed3 100644
--- a/board/rockchip/odroidgo2/odroidgo2.c
+++ b/board/rockchip/odroidgo2/odroidgo2.c
@@ -172,7 +172,8 @@ int rk_board_late_init(void)
}
#ifdef CONFIG_DM_CHARGE_DISPLAY
- charge_display();
+ if (CMD_RET_SUCCESS != run_command("fatload mmc 1:1 $loadaddr manufacture", 0))
+ charge_display();
#endif
/* show boot logo and version : drivers/video/drm/rockchip_display_cmds.c */