sync with u-boot v2009.03
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 5 May 2009 19:31:25 +0000 (22:31 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 5 May 2009 19:31:25 +0000 (22:31 +0300)
1  2 
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;
  }