/* The XPS TFT Controller can be accessed through PLB or DCR interface. To perform the read/write on the registers we need to check on which bus its connected and call the appropriate write API.  */
static void xilinx_fb_out_be32(struct xilinxfb_drvdata *drvdata, u32 offset, u32 val)
/* The XPS TFT Controller can be accessed through PLB or DCR interface. To perform the read/write on the registers we need to check on which bus its connected and call the appropriate write API.  */
static void xilinx_fb_out_be32(struct xilinxfb_drvdata *drvdata, u32 offset, u32 val)
{
	if (drvdata->flags & PLB_ACCESS_FLAG)
		out_be32(drvdata->regs + (offset << 2), val);
	else
		dcr_write(drvdata->dcr_host, offset, val);
}