diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2013-11-29 18:30:43 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-02-03 15:36:14 +0900 |
commit | 903afe18bb272d6d5c12e0be22b0f8fd35fa6f1b (patch) | |
tree | 2018de2b62b273dec17860d58fc60370f4a988fc /board/samsung/common/misc.c | |
parent | dca2a1c18576116b33c31ea4d1cd7a3812e3bf95 (diff) | |
download | u-boot-imx-903afe18bb272d6d5c12e0be22b0f8fd35fa6f1b.zip u-boot-imx-903afe18bb272d6d5c12e0be22b0f8fd35fa6f1b.tar.gz u-boot-imx-903afe18bb272d6d5c12e0be22b0f8fd35fa6f1b.tar.bz2 |
lib: tizen: change Tizen logo with the new one.
Changes:
- check image bpp instead of resolution when returns logo address
- remove 32bpp logo
- add 16bpp logo in two formats: bmp and gzipped bmp
- init logo address with "0" for unsupported bpp mode
- update boards configs with proper image size for gunzip
- extend structure vidinfo by two fields: logo_x_offset and logo_y_offset.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Tested-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/common/misc.c')
-rw-r--r-- | board/samsung/common/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index f6be891..15775e3 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -24,6 +24,7 @@ void draw_logo(void) if (panel_info.vl_width >= panel_info.logo_width) { x = ((panel_info.vl_width - panel_info.logo_width) >> 1); + x += panel_info.logo_x_offset; /* For X center align */ } else { x = 0; printf("Warning: image width is bigger than display width\n"); @@ -31,6 +32,7 @@ void draw_logo(void) if (panel_info.vl_height >= panel_info.logo_height) { y = ((panel_info.vl_height - panel_info.logo_height) >> 1); + y += panel_info.logo_y_offset; /* For Y center align */ } else { y = 0; printf("Warning: image height is bigger than display height\n"); |