/* 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(panel.plnSizeX, panel.plnSizeY,
			IPU_PIX_FMT_RGB666, IPU_PANEL_TFT);
	if (ret < 0)
		return ret;
	writel((mode->left_margin << 16) | mode->upper_margin, SDC_BG_POS);
	return 0;
}