/* mx3fb_set_par() - set framebuffer parameters and change the operating mode.  */
static int mx3fb_set_par(void)
/* mx3fb_set_par() - set framebuffer parameters and change the operating mode.  */
static int mx3fb_set_par(void)
{
	int ret;
	ret = sdc_init_panel(XRES, YRES, PIXEL_FMT);
	if (ret < 0)
		return ret;
	reg_write((H_START_WIDTH << 16) | V_START_WIDTH, SDC_BG_POS);
	return 0;
}