samsung: board: support the checking reboot mode 81/81381/2
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 25 Jul 2016 12:07:26 +0000 (21:07 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 26 Jul 2016 05:40:57 +0000 (22:40 -0700)
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 f63b79cefad1b7d7b25e66e0302d4a351f7938a1..e091f1d920053b9532c361b24b63b4ce43e39161 100644 (file)
@@ -379,6 +379,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;