From: Grazvydas Ignotas Date: Tue, 5 May 2009 19:31:25 +0000 (+0300) Subject: sync with u-boot v2009.03 X-Git-Tag: v2009.03-pandora~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=936325475471a9bccb41d7772360b5d59622a72d;p=pandora-u-boot.git sync with u-boot v2009.03 --- 936325475471a9bccb41d7772360b5d59622a72d diff --cc board/omap3/pandora/pandora.c index 77a25d761ce,dfd51ecfcba..29002864852 --- a/board/omap3/pandora/pandora.c +++ b/board/omap3/pandora/pandora.c @@@ -210,25 -77,8 +210,27 @@@ int misc_init_r(void writel(GPIO28, &gpio5_base->setdataout); writel(GPIO4, &gpio6_base->setdataout); + dieid_num_r(); + + lcd_init(); + + /* this block will move to kernel. */ + { + unsigned char byte; + + /* set vaux4 to 2.8V (TOUCH, NUBS) */ + byte = 0x20; + i2c_write(0x4B, 0x7E, 1, &byte, 1); + byte = 0x0A; + i2c_write(0x4B, 0x81, 1, &byte, 1); + + /* set vsim to 2.8V (AUDIO DAC external) */ + byte = 0x20; + i2c_write(0x4B, 0x92, 1, &byte, 1); + byte = 0x04; + i2c_write(0x4B, 0x95, 1, &byte, 1); + } + return 0; }