blob: 814ed18329e01e5c7000344c795dab52c719ccea [file] [log] [blame]
Donghwa Leefa134912012-05-10 12:02:55 +09001/*
2 * (C) Copyright 2012 Samsung Electronics
3 * Donghwa Lee <dh09.lee@samsung.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Donghwa Leefa134912012-05-10 12:02:55 +09006 */
7
8#include <common.h>
9#include <lcd.h>
10#include <libtizen.h>
11
Przemyslaw Marczak02f4a092013-11-29 18:30:43 +010012#include "tizen_logo_16bpp.h"
13#include "tizen_logo_16bpp_gzip.h"
Donghwa Leefa134912012-05-10 12:02:55 +090014
15void get_tizen_logo_info(vidinfo_t *vid)
16{
Przemyslaw Marczak02f4a092013-11-29 18:30:43 +010017 switch (vid->vl_bpix) {
18 case 4:
19 vid->logo_width = TIZEN_LOGO_16BPP_WIDTH;
20 vid->logo_height = TIZEN_LOGO_16BPP_HEIGHT;
21 vid->logo_x_offset = TIZEN_LOGO_16BPP_X_OFFSET;
22 vid->logo_y_offset = TIZEN_LOGO_16BPP_Y_OFFSET;
23#if defined(CONFIG_VIDEO_BMP_GZIP)
24 vid->logo_addr = (ulong)tizen_logo_16bpp_gzip;
25#else
26 vid->logo_addr = (ulong)tizen_logo_16bpp;
27#endif
Donghwa Leefa134912012-05-10 12:02:55 +090028 break;
29 default:
Przemyslaw Marczak02f4a092013-11-29 18:30:43 +010030 vid->logo_addr = 0;
Donghwa Leefa134912012-05-10 12:02:55 +090031 break;
32 }
33}