diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-01-22 11:24:12 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-02-03 15:36:14 +0900 |
commit | 679549d1802f0ee8e66576ecfc766d30b4040983 (patch) | |
tree | e9e78d320e68ba89f8d54a4c9c4d6d0cac612d0b /include/samsung | |
parent | 7f39b0678275c773301da15d3a7cc1ea7ca87171 (diff) | |
download | u-boot-imx-679549d1802f0ee8e66576ecfc766d30b4040983.zip u-boot-imx-679549d1802f0ee8e66576ecfc766d30b4040983.tar.gz u-boot-imx-679549d1802f0ee8e66576ecfc766d30b4040983.tar.bz2 |
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 'include/samsung')
-rw-r--r-- | include/samsung/misc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/samsung/misc.h b/include/samsung/misc.h new file mode 100644 index 0000000..8ea9223 --- /dev/null +++ b/include/samsung/misc.h @@ -0,0 +1,8 @@ +#ifndef __SAMSUNG_MISC_COMMON_H__ +#define __SAMSUNG_MISC_COMMON_H__ + +#ifdef CONFIG_CMD_BMP +void draw_logo(void); +#endif + +#endif /* __SAMSUNG_MISC_COMMON_H__ */ |