This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

da850无法配置LCD控制寄存器



你好,

         在uboot上移植LCD驱动,发现LCD控制器无法写入,烦请指导一下。代码直接移植自另外一个版本的uboot,可正常写入寄存器、显示LOGO信息。

         能否帮忙解答一下,谢谢!

*((volatile uint *) 0x01c14160) = 0x22222200;
//udelay(10000);
*((volatile uint *) 0x01c14164) = 0x22222222;
//udelay(10000);
*((volatile uint *) 0x01c14168) = 0x22000022;
//udelay(10000);
*((volatile uint *) 0x01c1416C) = 0x02000022;
//udelay(10000);

//*((volatile uint *) 0x01E13028) = 0x000000C0;
*((volatile uint *) 0x01E13028) = 0x010000C0;
//udelay(10000);

*((volatile uint *) 0xC7200FE0) = 0x00004000;
//*((volatile uint *) 0x01E13004) = 0x00000601;
*((volatile uint *) 0x01E13004) = 0x00000801;
//udelay(10000);
*((volatile uint *) 0x01E1302C) = 0x2F2FFE70;
//udelay(10000);
*((volatile uint *) 0x01E13030) = 0x1F0B05DF;
//udelay(10000);
*((volatile uint *) 0x01E13034) = 0x0270ff00;
//udelay(10000);
*((volatile uint *) 0x01E13038) = 0x00000000;
//udelay(10000);
*((volatile uint *) 0x01E13040) = 0x00000540;
//udelay(10000);
*((volatile uint *) 0x01E13044) = 0xC7200FE0;
//udelay(10000);
*((volatile uint *) 0x01E13048) = 0xC7296FFC;
//udelay(10000);