Skip to content

Commit 8273f69

Browse files
author
Joy Cho
committed
odroid-goA: Skip default charging display in case of manufacture
Change-Id: I0d86462df32b1c2696d63a4db4422f114cf50ea5
1 parent e7b255b commit 8273f69

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

board/rockchip/odroidgo2/odroidgo2.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ int rk_board_late_init(void)
172172
}
173173

174174
#ifdef CONFIG_DM_CHARGE_DISPLAY
175-
charge_display();
175+
if (CMD_RET_SUCCESS != run_command("fatload mmc 1:1 $loadaddr manufacture", 0))
176+
charge_display();
176177
#endif
177178

178179
/* show boot logo and version : drivers/video/drm/rockchip_display_cmds.c */

0 commit comments

Comments
 (0)