From: Heiko Schocher Date: Sat, 3 Aug 2013 05:22:48 +0000 (+0200) Subject: video, da8xx: move da8xx-fb.h to drivers/video X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0017f9ee066f8049733ec4d5aacd97dd0cf4e2ec;p=u-boot.git video, da8xx: move da8xx-fb.h to drivers/video the da8xx-fb driver works also on am335x boards. So move the da8xx-fb.h file from arch/arm/include/asm/arch-davinci to drivers/video, so this driver can used from am335x based boards. Also add WVGA panel_type. Signed-off-by: Heiko Schocher Cc: Stefano Babic Cc: Anatolij Gustschin Cc: Tom Rini Acked-by: Tom Rini --- diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index c786997799..89ee079ea6 100644 --- a/board/davinci/ea20/ea20.c +++ b/board/davinci/ea20/ea20.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include "../../../drivers/video/da8xx-fb.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 373991ddee..dd7ce36060 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -24,7 +24,7 @@ #include #include "videomodes.h" -#include +#include "da8xx-fb.h" #define DRIVER_NAME "da8xx_lcdc" diff --git a/arch/arm/include/asm/arch-davinci/da8xx-fb.h b/drivers/video/da8xx-fb.h similarity index 99% rename from arch/arm/include/asm/arch-davinci/da8xx-fb.h rename to drivers/video/da8xx-fb.h index c115034f06..f48fdfdc45 100644 --- a/arch/arm/include/asm/arch-davinci/da8xx-fb.h +++ b/drivers/video/da8xx-fb.h @@ -17,7 +17,8 @@ #define DA8XX_FB_H enum panel_type { - QVGA = 0 + QVGA = 0, + WVGA }; enum panel_shade {