From: Jaehoon Chung Date: Mon, 5 Aug 2019 07:00:00 +0000 (+0900) Subject: board: samsung: add set_board_revision() X-Git-Tag: submit/tizen/20201110.005738~172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a69abbbec4fdfb2fb564502dad2de05652239e7;p=platform%2Fkernel%2Fu-boot.git board: samsung: add set_board_revision() 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 --- diff --git a/board/samsung/common/exynos4-dt.c b/board/samsung/common/exynos4-dt.c index d051747a09..8a856d562e 100644 --- a/board/samsung/common/exynos4-dt.c +++ b/board/samsung/common/exynos4-dt.c @@ -182,6 +182,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