diff options
-rw-r--r-- | lib/tizen/tizen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tizen/tizen.c b/lib/tizen/tizen.c index 9331d7d002..468ad77aa6 100644 --- a/lib/tizen/tizen.c +++ b/lib/tizen/tizen.c @@ -9,11 +9,13 @@ #include <malloc.h> #include <version.h> #include <libtizen.h> +#ifdef CONFIG_DM_VIDEO #include <thor.h> #include <video.h> #include <video_console.h> #include <dm/device.h> #include <dm/uclass.h> +#endif #include "tizen_logo_16bpp.h" #include "tizen_logo_16bpp_gzip.h" @@ -183,6 +185,7 @@ void draw_thor_progress(unsigned long long int total_file_size, } #endif +#ifdef CONFIG_DM_VIDEO /* XRGB */ #define PROGRESS_BAR_COLOR 0x0000B3F1 #define PROGRESS_FRAME_COLOR 0x00F8FBF9 @@ -278,3 +281,4 @@ void thor_status_notify(enum thor_notify_type type, struct thor_notify_data *nd) break; } } +#endif |