VPU: Support both syscon and virtual address while access to grf resource.
authoralpha.lin <alpha.lin@rock-chips.com>
Wed, 23 Sep 2015 06:11:42 +0000 (14:11 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 23 Sep 2015 10:09:36 +0000 (18:09 +0800)
commit0eb015892df4f3086ae44325ba0e8071355540f7
tree450dbfdc351e9413eb3ff476cc7f2a9ee0084eb9
parent7fde8d2fb3cd8531eb61ea7ed020c4ce2c6a43c6
VPU: Support both syscon and virtual address while access to grf resource.

If CONFIG_MFD_SYSCON macro define but no grf resource
define in dts will cause a error before this revision.

Change-Id: I70432530fba9c7a5d0b8f5a0c996d67237eb8198
Signed-off-by: alpha.lin <alpha.lin@rock-chips.com>
arch/arm/mach-rockchip/vcodec_service.c