[U-Boot] [PATCH v2 15/25] exynos: Allow tizen to be built without an LCD
Simon Glass
sjg at chromium.org
Mon Feb 22 05:08:52 CET 2016
This file currently requires an LCD. Adjust it to work without one.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2: None
include/libtizen.h | 2 ++
lib/tizen/tizen.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/include/libtizen.h b/include/libtizen.h
index 6490fb5..55dccff 100644
--- a/include/libtizen.h
+++ b/include/libtizen.h
@@ -10,6 +10,8 @@
#define HD_RESOLUTION 0
+#ifdef CONFIG_LCD
void get_tizen_logo_info(vidinfo_t *vid);
+#endif
#endif /* _LIBTIZEN_H_ */
diff --git a/lib/tizen/tizen.c b/lib/tizen/tizen.c
index 814ed18..d207f77 100644
--- a/lib/tizen/tizen.c
+++ b/lib/tizen/tizen.c
@@ -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
--
2.7.0.rc3.207.g0ac5344
More information about the U-Boot
mailing list