From 7a69abbbec4fdfb2fb564502dad2de05652239e7 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 5 Aug 2019 16:00:00 +0900 Subject: [PATCH] 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 --- board/samsung/common/exynos4-dt.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/board/samsung/common/exynos4-dt.c b/board/samsung/common/exynos4-dt.c index d051747..8a856d5 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 -- 2.7.4