void __iomem *regs = pi->base;
u32 id = 0;
-#ifdef CONFIG_ARCH_RK30
+#ifdef CONFIG_PLAT_RK
id |= ((readl(regs + off + 0x0) & 0xff) << 0);
- id |= ((readl(regs + off + 0x4) & 0xff)<< 8);
+ id |= ((readl(regs + off + 0x4) & 0xff) << 8);
id |= ((readl(regs + off + 0x8) & 0xff) << 16);
- id |= ((readl(regs + off + 0xc) & 0xff)<< 24);
+ id |= ((readl(regs + off + 0xc) & 0xff) << 24);
#else
id |= (readb(regs + off + 0x0) << 0);
id |= (readb(regs + off + 0x4) << 8);