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:
cdb5ac0
)
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>
Tue, 20 Oct 2020 06:13:47 +0000
(15:13 +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 d051747a092e12fbbec7b18c632ca9c6e2dd5096..8a856d562ed394958a4621b347527163b78dd667 100644
(file)
--- 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