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>
Thu, 10 Oct 2019 04:38:37 +0000 (13:38 +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 03c87702efd96cc3b3fee4b5b94f72bf7dadd4cc..fd20cc029445d1631173159956017f0b44e411e8 100644 (file)
@@ -346,6 +346,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;