};\r
\r
\r
-#if defined(CONFIG_ARCH_RK30) |defined(CONFIG_ARCH_RK3066B)\r
+#if defined(CONFIG_ARCH_RK30)\r
#define pwm_write_reg(id, addr, val) __raw_writel(val, addr+(RK30_PWM01_BASE+(id>>1)*0x20000)+id*0x10)\r
#define pwm_read_reg(id, addr) __raw_readl(addr+(RK30_PWM01_BASE+(id>>1)*0x20000+id*0x10))\r
#elif defined(CONFIG_ARCH_RK29)\r
\r
#if defined(CONFIG_ARCH_RK29) || defined(CONFIG_ARCH_RK2928)\r
clkrate = clk_get_rate(pwm_clk[0]);\r
-#elif defined(CONFIG_ARCH_RK30) || defined(CONFIG_ARCH_RK3066B)\r
+#elif defined(CONFIG_ARCH_RK30)\r
if (id == 0 || id == 1) {\r
clkrate = clk_get_rate(pwm_clk[0]);\r
} else if (id== 2 || id == 3) {\r
\r
#if defined(CONFIG_ARCH_RK29)\r
pwm_clk[0] = clk_get(NULL, "pwm");\r
-#elif defined(CONFIG_ARCH_RK30) |defined(CONFIG_ARCH_RK3066B)\r
+#elif defined(CONFIG_ARCH_RK30)\r
if (pwm_id == 0 || pwm_id == 1)\r
{\r
pwm_clk[0] = clk_get(NULL, "pwm01"); \r