TIZEN: create lib/tizen to common tizen library
PATCH v3 2/3 TIZEN: create lib/tizen to common tizen library
This directory includes tizen logo data, common tizen library and so on.
Signed-off-by Donghwa Lee <[email protected]>
Signed-off-by Kyungmin Park <[email protected]>
---
Changes for v1:
- moves to logo data from arch/arm to include/
Changes for v2:
- create lib/tizen directory and moves logo data to lib/tizen.
- create common tizen library function.
- changes patch name from "LCD: add compressed 32bpp BMP image data" to crete lib/tizen directory
Makefile | 1 + include/libtizen.h | 30 + lib/tizen/Makefile | 46 + lib/tizen/tizen.c | 39 + lib/tizen/tizen_logo.h | 5071 +++++++++++++++++++++++++++++++++++++++++++ lib/tizen/tizen_logo_data.h | 30 + 6 files changed, 5217 insertions(+), 0 deletions(-) create mode 100644 include/libtizen.h create mode 100644 lib/tizen/Makefile create mode 100644 lib/tizen/tizen.c create mode 100644 lib/tizen/tizen_logo.h create mode 100644 lib/tizen/tizen_logo_data.h
Makefile +1 -0
@@ -229,6 +229,7 @@ LIBS = lib/libgeneric.o LIBS += lib/lzma/liblzma.o LIBS += lib/lzo/liblzo.o LIBS += lib/zlib/libz.o +LIBS += lib/tizen/libtizen.o LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ "board/$(VENDOR)/common/lib$(VENDOR).o"; fi) LIBS += $(CPUDIR)/lib$(CPU).o
include/libtizen.h new file +30 -0
@@ -0,0 +1,30 @@ +/* +* (C) Copyright 2012 Samsung Electronics +* Donghwa Lee <[email protected]> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* aint with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +* +*/ + +#ifndef _LIBTIZEN_H_ +#define _LIBTIZEN_H_ + +unsigned char *get_tizen_logo_data (void ); +unsigned int get_tizen_logo_height (void ); +unsigned int get_tizen_logo_width (void ); + +#endif /* _LIBTIZEN_H_ */ +
lib/tizen/Makefile new file +46 -0
46 lines not on this page · raw message
lib/tizen/tizen.c new file +39 -0
@@ -0,0 +1,39 @@ +/* +* (C) Copyright 2012 Samsung Electronics +* Donghwa Lee <[email protected]> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* aint with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +* +*/ + +#include "tizen_logo.h" +#include "tizen_logo_data.h" + +unsigned char *get_tizen_logo_data (void ) +{ +return tizen_logo; +} + +unsigned int get_tizen_logo_height (void ) +{ +return TIZEN_LOGO_HEIGHT ; +} + +unsigned int get_tizen_logo_width (void ) +{ +return TIZEN_LOGO_WIDTH ; +} +
lib/tizen/tizen_logo.h new file +5071 -0
2,878 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.4.1
Part of the diff is not shown here. View the raw message.