Browse Source

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 <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>
Heiko Schocher 12 years ago
parent
commit
0017f9ee06
3 changed files with 4 additions and 3 deletions
  1. 1 1
      board/davinci/ea20/ea20.c
  2. 1 1
      drivers/video/da8xx-fb.c
  3. 2 1
      drivers/video/da8xx-fb.h

+ 1 - 1
board/davinci/ea20/ea20.c

@@ -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;
 

+ 1 - 1
drivers/video/da8xx-fb.c

@@ -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"
 

+ 2 - 1
arch/arm/include/asm/arch-davinci/da8xx-fb.h → drivers/video/da8xx-fb.h

@@ -17,7 +17,8 @@
 #define DA8XX_FB_H
 
 enum panel_type {
-	QVGA = 0
+	QVGA = 0,
+	WVGA
 };
 
 enum panel_shade {