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, 20 Oct 2020 01:35:21 +0000 (10:35 +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 f61bbd94541ece866f25fbf9a54f7df9e1106d42..2f8b4172682d20cd700a7499a43f81a3cf32b294 100644 (file)
@@ -375,6 +375,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;