projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3685eb5
)
board: samsung: add set_board_revision()
author
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 5 Aug 2019 07:00:00 +0000
(16:00 +0900)
committer
Jaehoon 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
patch
|
blob
|
history
diff --git
a/board/samsung/common/exynos4-dt.c
b/board/samsung/common/exynos4-dt.c
index
17d57ef
..
9aa2875
100644
(file)
--- a/
board/samsung/common/exynos4-dt.c
+++ b/
board/samsung/common/exynos4-dt.c
@@
-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