/* Do the one-time initialization of the Nokia LCD hardware. Specifically: Set up platform specific GPIO for control of the Nokia LCD.  */
static void nokia6100fb_init(struct nokia6100fb_par *p)
/* Do the one-time initialization of the Nokia LCD hardware. Specifically: Set up platform specific GPIO for control of the Nokia LCD.  */
static void nokia6100fb_init(struct nokia6100fb_par *p)
{
	int r = p->reset;
	int b = r < 16 ? 25 : 0;
	int d = r < 16 ?  r : r - 16;
	writel(0x14, &MSS_IOMUX->cr[b + d]);
	writel(0x5, &MSS_GPIO->cfg[r]);
	d_printk(2, "r=%d\n", r);
}