#ifdef CONFIG_ARCH_MX6
#ifdef CONFIG_SOC_IMX6SL
const struct imx_viv_gpu_data imx6_gpu_data __initconst = {
+ .phys_baseaddr = MX6SL_MMDC0_ARB_BASE_ADDR,
.iobase_3d = 0,
.irq_3d = -1,
.iobase_2d = MX6SL_GPU_2D_ARB_BASE_ADDR,
};
#else
const struct imx_viv_gpu_data imx6_gpu_data __initconst = {
+ .phys_baseaddr = 0,
.iobase_3d = GPU_3D_ARB_BASE_ADDR,
.irq_3d = MXC_INT_GPU3D_IRQ,
.iobase_2d = GPU_2D_ARB_BASE_ADDR,
u32 res_count = 0;
struct resource res[] = {
{
+ .name = "phys_baseaddr",
+ .start = data->phys_baseaddr,
+ .end = data->phys_baseaddr,
+ .flags = IORESOURCE_MEM,
+ }, {
+
.name = "iobase_3d",
.start = data->iobase_3d,
.end = data->iobase_3d + SZ_16K - 1,