summaryrefslogtreecommitdiffstats
path: root/board/samsung/universal_c210
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-01-22 11:24:12 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-03 15:36:14 +0900
commit679549d1802f0ee8e66576ecfc766d30b4040983 (patch)
treee9e78d320e68ba89f8d54a4c9c4d6d0cac612d0b /board/samsung/universal_c210
parent7f39b0678275c773301da15d3a7cc1ea7ca87171 (diff)
downloadblackbird-obmc-uboot-679549d1802f0ee8e66576ecfc766d30b4040983.tar.gz
blackbird-obmc-uboot-679549d1802f0ee8e66576ecfc766d30b4040983.zip
samsung: common: Add file for common functions, draw_logo() cleanup.
Changes: new file: - board/samsung/common/misc.c depends on: CONFIG_MISC_COMMON - move draw_logo() to misc.c configs: trats, trats2, universal: - enable CONFIG_MISC_COMMON, - enable CONFIG_MISC_INIT_R, - add misc_init_r() and call draw_logo() in it. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/universal_c210')
-rw-r--r--board/samsung/universal_c210/universal.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 3feef3f777..2b8c69be1d 100644
--- a/board/samsung/universal_c210/universal.c
+++ b/board/samsung/universal_c210/universal.c
@@ -511,3 +511,14 @@ int board_init(void)
return 0;
}
+
+#ifdef CONFIG_MISC_INIT_R
+int misc_init_r(void)
+{
+#ifdef CONFIG_CMD_BMP
+ if (panel_info.logo_on)
+ draw_logo();
+#endif
+ return 0;
+}
+#endif
OpenPOWER on IntegriCloud