exynos: Allow tizen to be built without an LCD
authorSimon Glass <sjg@chromium.org>
Mon, 22 Feb 2016 04:08:52 +0000 (21:08 -0700)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 25 May 2016 04:25:18 +0000 (13:25 +0900)
This file currently requires an LCD. Adjust it to work without one.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/libtizen.h
lib/tizen/tizen.c

index 6490fb5..55dccff 100644 (file)
@@ -10,6 +10,8 @@
 
 #define HD_RESOLUTION  0
 
+#ifdef CONFIG_LCD
 void get_tizen_logo_info(vidinfo_t *vid);
+#endif
 
 #endif /* _LIBTIZEN_H_ */
index 814ed18..d207f77 100644 (file)
@@ -12,6 +12,7 @@
 #include "tizen_logo_16bpp.h"
 #include "tizen_logo_16bpp_gzip.h"
 
+#ifdef CONFIG_LCD
 void get_tizen_logo_info(vidinfo_t *vid)
 {
        switch (vid->vl_bpix) {
@@ -31,3 +32,4 @@ void get_tizen_logo_info(vidinfo_t *vid)
                break;
        }
 }
+#endif