rk2928: fix RK29_VCODEC_PHYS definition compile error
authorchm <chm@rock-chips.com>
Thu, 9 Aug 2012 06:25:13 +0000 (14:25 +0800)
committerchm <chm@rock-chips.com>
Thu, 9 Aug 2012 06:25:13 +0000 (14:25 +0800)
arch/arm/plat-rk/vpu_service.c

index e254a9b7165751efdd0be58ca2ff42fcb3715794..4d3ffc16a524450c81c07620d73872299c481a14 100644 (file)
@@ -76,6 +76,9 @@ static const u16 dec_hw_ids[] = { 0x8190, 0x8170, 0x9170, 0x9190, 0x6731 };
 #if defined(CONFIG_ARCH_RK29) || defined(CONFIG_ARCH_RK2928)
 static const u16 enc_hw_ids[] = { 0x6280, 0x7280, 0x8270 };
 #define DEC_PHY_OFFSET                                 0x200
+#if defined(CONFIG_ARCH_RK2928)
+#define RK29_VCODEC_PHYS                       RK2928_VCODEC_PHYS
+#endif
 #elif defined(CONFIG_ARCH_RK30)
 static const u16 enc_hw_ids[] = { 0x6280, 0x7280, 0x8270, 0x8290, 0x4831 };
 #define DEC_PHY_OFFSET                                 0x400