From 2cfbedd368c4ee10261521ba869516864f325580 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 6 Mar 2014 11:59:29 +0100 Subject: [PATCH] karo: move 'is_lvds()' to common/karo.h --- board/karo/common/karo.h | 6 ++++++ include/configs/tx53.h | 6 ------ include/configs/tx6.h | 6 ------ 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/board/karo/common/karo.h b/board/karo/common/karo.h index 7b8f48743d..dd2a723501 100644 --- a/board/karo/common/karo.h +++ b/board/karo/common/karo.h @@ -16,6 +16,12 @@ */ struct fb_videomode; +#ifdef CONFIG_SYS_LVDS_IF +#define is_lvds() 1 +#else +#define is_lvds() 0 +#endif + #ifdef CONFIG_OF_LIBFDT void karo_fdt_remove_node(void *blob, const char *node); void karo_fdt_move_fdt(void); diff --git a/include/configs/tx53.h b/include/configs/tx53.h index 06072aaf49..b466a7ef42 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -40,12 +40,6 @@ #define CONFIG_VIDEO_BMP_RLE8 #endif /* CONFIG_LCD */ -#ifdef CONFIG_SYS_LVDS_IF -#define is_lvds() 1 -#else -#define is_lvds() 0 -#endif - /* * Memory configuration options */ diff --git a/include/configs/tx6.h b/include/configs/tx6.h index 02eb89d849..c271e543e1 100644 --- a/include/configs/tx6.h +++ b/include/configs/tx6.h @@ -41,12 +41,6 @@ #endif /* CONFIG_LCD */ #endif /* CONFIG_MFG */ -#ifdef CONFIG_SYS_LVDS_IF -#define is_lvds() 1 -#else -#define is_lvds() 0 -#endif - /* * Memory configuration options */ -- 2.39.2