samsung: board: support the checking reboot mode
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 25 Jul 2016 12:07:26 +0000 (21:07 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 11 Apr 2017 09:58:15 +0000 (18:58 +0900)
Support the checking reboot mode.
If there is no compatible or inform-num, then this function will not
do nothing.

Change-Id: Iefe5891919adb2ca224ecb4bfd2a441a0e2efd02
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/samsung/common/board.c

index 473aed4bbf62e27569b281c391649956e0f935fc..4d0c45876dedd9c46ab495c49c1885ee2a4fe35d 100644 (file)
@@ -363,6 +363,7 @@ int misc_init_r(void)
 #ifdef CONFIG_PLATFORM_SETUP
        platform_setup();
 #endif
+       check_reboot_mode();
 #ifdef CONFIG_OF_MULTI
        if (!board_is_trats2())
                return 0;