]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video, da8xx: move da8xx-fb.h to drivers/video
authorHeiko Schocher <hs@denx.de>
Sat, 3 Aug 2013 05:22:48 +0000 (07:22 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 10 Aug 2013 08:37:48 +0000 (10:37 +0200)
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 <hs@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Tom Rini <trini@ti.com>
Acked-by: Tom Rini <trini@ti.com>
board/davinci/ea20/ea20.c
drivers/video/da8xx-fb.c
drivers/video/da8xx-fb.h [moved from arch/arm/include/asm/arch-davinci/da8xx-fb.h with 99% similarity]

index c786997799004deeb82517aa318e5650fd082d67..89ee079ea60ff0f836c7caabbe89a60947740dfe 100644 (file)
@@ -24,7 +24,7 @@
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
 #include <asm/gpio.h>
-#include <asm/arch/da8xx-fb.h>
+#include "../../../drivers/video/da8xx-fb.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 373991ddee16a4c05a85b81ece15428f85c9b84c..dd7ce360609c3b02bf2bd4655a6d57d1b8cc56fd 100644 (file)
@@ -24,7 +24,7 @@
 #include <asm/arch/hardware.h>
 
 #include "videomodes.h"
-#include <asm/arch/da8xx-fb.h>
+#include "da8xx-fb.h"
 
 #define DRIVER_NAME "da8xx_lcdc"
 
similarity index 99%
rename from arch/arm/include/asm/arch-davinci/da8xx-fb.h
rename to drivers/video/da8xx-fb.h
index c115034f061844f7e418b298a3aaeafdb1bd6bcf..f48fdfdc45c6553c615b216ca2b78e9f30071216 100644 (file)
@@ -17,7 +17,8 @@
 #define DA8XX_FB_H
 
 enum panel_type {
-       QVGA = 0
+       QVGA = 0,
+       WVGA
 };
 
 enum panel_shade {