[U-Boot-Users] [PATCH] au1x00 LCD support

Rodolfo Giometti giometti at linux.it
Wed Jul 12 11:19:34 CEST 2006


On Wed, Jul 12, 2006 at 11:13:01AM +0200, Rodolfo Giometti wrote:
> Hello,
> 
> here a patch to add LCD support to au1x00 CPUs.

Sorry, I just noticed that I should remove some debugging code...

   diff --git a/cpu/mips/au1x00_fb.c b/cpu/mips/au1x00_fb.c
   index b007683..483df45 100644
   --- a/cpu/mips/au1x00_fb.c
   +++ b/cpu/mips/au1x00_fb.c
   @@ -178,18 +178,6 @@ #endif
    	debug("LCD_PWMDIV:	%x\n", au_readl(LCD_PWMDIV));
    	debug("LCD_PWMHI:	%x\n", au_readl(LCD_PWMHI));
    
   -	printf("LCD_CONTROL:	%x\n", au_readl(LCD_CONTROL));
   -	printf("LCD_INTSTATUS:	%x\n", au_readl(LCD_INTSTATUS));
   -	printf("LCD_INTENABLE:	%x\n", au_readl(LCD_INTENABLE));
   -	printf("LCD_HORZTIMING:	%x\n", au_readl(LCD_HORZTIMING));
   -	printf("LCD_VERTTIMING:	%x\n", au_readl(LCD_VERTTIMING));
   -	printf("LCD_CLKCONTROL:	%x\n", au_readl(LCD_CLKCONTROL));
   -	printf("LCD_DMAADDR0:	%x\n", au_readl(LCD_DMAADDR0));
   -	printf("LCD_DMAADDR1:	%x\n", au_readl(LCD_DMAADDR1));
   -	printf("LCD_WORDS:	%x\n", au_readl(LCD_WORDS));
   -	printf("LCD_PWMDIV:	%x\n", au_readl(LCD_PWMDIV));
   -	printf("LCD_PWMHI:	%x\n", au_readl(LCD_PWMHI));
   -
    	return 0;
    }

Ciao,

Rodolfo      

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127




More information about the U-Boot mailing list