xref: /openbmc/u-boot/lib/tizen/tizen.c (revision 4e3349b6)
1 /*
2  * (C) Copyright 2012 Samsung Electronics
3  * Donghwa Lee <dh09.lee@samsung.com>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * aint with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18  * MA 02111-1307 USA
19  *
20  */
21 
22 #include <common.h>
23 #include <lcd.h>
24 #include <libtizen.h>
25 
26 #include "tizen_hd_logo.h"
27 #include "tizen_hd_logo_data.h"
28 
29 void get_tizen_logo_info(vidinfo_t *vid)
30 {
31 	switch (vid->resolution) {
32 	case HD_RESOLUTION:
33 		vid->logo_width = TIZEN_HD_LOGO_WIDTH;
34 		vid->logo_height = TIZEN_HD_LOGO_HEIGHT;
35 		vid->logo_addr = (ulong)tizen_hd_logo;
36 		break;
37 	default:
38 		break;
39 	}
40 }
41