board: samsung: add set_board_revision()
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 5 Aug 2019 07:00:00 +0000 (16:00 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 10 Oct 2019 04:38:42 +0000 (13:38 +0900)
Add set_board_revision() function.
When build with tizen_defconfig, it can't refer to set_board_revision().
This function is taken from odroid.c.

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

index 17d57ef..9aa2875 100644 (file)
@@ -181,6 +181,16 @@ const char *get_board_type(void)
 {
        return board_type[gd->board_type];
 }
+#ifdef CONFIG_TIZEN
+void set_board_revision(void)
+{
+       /*
+        * Revision already set by set_board_type() because it can be
+        * executed early.
+        */
+}
+#endif
+
 #endif
 
 #ifdef CONFIG_OF_MULTI