summaryrefslogtreecommitdiff
path: root/board/hardkernel/odroidc2/odroidc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/hardkernel/odroidc2/odroidc2.c')
-rw-r--r--board/hardkernel/odroidc2/odroidc2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/hardkernel/odroidc2/odroidc2.c b/board/hardkernel/odroidc2/odroidc2.c
index f5ad37047a..2972f0201d 100644
--- a/board/hardkernel/odroidc2/odroidc2.c
+++ b/board/hardkernel/odroidc2/odroidc2.c
@@ -416,6 +416,14 @@ static void board_run_fastboot(void)
static void board_run_recovery(void)
{
+ /*
+ * In case of recovery mode,
+ * bootargs should be updated with new modeline
+ */
+ run_command("usb pwren", 0);
+ run_command("hdmitx edid", 0);
+ run_command("setenv bootargs ${bootargs} modeline=${modeline}", 0);
+
run_command("movi read dtb 0 ${dtb_mem_addr}", 0);
run_command("movi read recovery 0 ${loadaddr}", 0);
run_command("bootm ${load_addr}", 0);