diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2020-12-16 13:33:24 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2020-12-16 13:33:24 +0900 |
commit | fa27ab6f9f3ccad4795c6ae34156efd825aae7e0 (patch) | |
tree | b5260ed55c6d5ad3baf474d60b85d9b372af4b97 | |
parent | e4db3dc08413511edefbdad99bd7f95f00644406 (diff) | |
download | u-boot-submit/tizen/20201216.044245.tar.gz u-boot-submit/tizen/20201216.044245.tar.bz2 u-boot-submit/tizen/20201216.044245.zip |
lib: tizen: fix build error with tizen_defconfigsubmit/tizen/20201216.044245accepted/tizen/unified/20201216.215949
Fix build error with tizen_defconfig.
tizen_defconfig doesn't support DM_VIDEO.
Change-Id: Ie86a45e97c8d8c4c70e13dfaba70f23b0bdccd93
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-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 |