Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
pservice->grf_base = (u32*)RK_GRF_VIRT;
#endif
if (IS_ERR(pservice->grf_base)) {
pservice->grf_base = (u32*)RK_GRF_VIRT;
#endif
if (IS_ERR(pservice->grf_base)) {
+#ifdef CONFIG_ARM
+ pservice->grf_base = RK_GRF_VIRT;
+#else
vpu_err("can't find vpu grf property\n");
return;
vpu_err("can't find vpu grf property\n");
return;
}
of_property_read_string(np, "name", (const char**)&pservice->name);
}
}
of_property_read_string(np, "name", (const char**)&pservice->name);
}