]> git.sur5r.net Git - u-boot/commitdiff
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 6490fb52ba3c1eb855c650cbb9bdeb40e0a11c74..55dccff715de2c2eae0a1b1b38471a1b09854084 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 814ed18329e01e5c7000344c795dab52c719ccea..d207f77d0b32dfd869dcded544b0d469fcdac776 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