val |= SYS_CLCD_MODE_565_BLSB; 
val |= SYS_CLCD_MODE_565_RLSB; 
static void versatile_clcd_enable(struct clcd_fb *fb){	unsigned long sys_clcd = IO_ADDRESS(VERSATILE_SYS_BASE) + VERSATILE_SYS_CLCD_OFFSET;	u32 val;	val = readl(sys_clcd);	val &= ~SYS_CLCD_MODE_MASK;	switch (fb->fb.var.green.length) {	case 5:		val |= SYS_CLCD_MODE_5551;		break;	case 6:		val |= SYS_CLCD_MODE_565_BLSB;		break;	case 8:		val |= SYS_CLCD_MODE_888;		break;	}	/*	 * Set the MUX	 */	writel(val, sys_clcd);	/*	 * And now enable the PSUs	 */	val |= SYS_CLCD_NLCDIOON | SYS_CLCD_PWR3V5SWITCH;	writel(val, sys_clcd);#ifdef CONFIG_MACH_VERSATILE_AB	/*	 * If the LCD is Sanyo 2x5 in on the IB2 board, turn the back-light on	 */	if (fb->panel == &sanyo_2_5_in) {		unsigned long versatile_ib2_ctrl = IO_ADDRESS(VERSATILE_IB2_CTRL);		unsigned long ctrl;		ctrl = readl(versatile_ib2_ctrl);		ctrl |= 0x01;		writel(ctrl, versatile_ib2_ctrl);	}#endif}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/90ef713b6368dcfe7a74bcc0026b998b4c44d5bc/core.c/buggy/arch/arm/mach-versatile/core.c