static void jz_fb_hw_ctrl_enable(struct jz_fb_ctrl *ctrl, int force) { D("Called."); if (!force && ctrl->state) { D("Already Enable."); return; } REG_LCD_STATE = 0; /* clear lcdc status */ __lcd_clr_dis(); __lcd_set_ena(); /* enable lcdc */ ctrl->state = 1; return; }
void lcd_enable (void) { __lcd_clr_dis(); __lcd_set_ena(); }