rk3066b: use rk3188 cpufreq driver
author黄涛 <huangtao@rock-chips.com>
Sat, 23 Feb 2013 05:28:40 +0000 (13:28 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 23 Feb 2013 05:28:40 +0000 (13:28 +0800)
arch/arm/mach-rk30/Makefile

index 53d7fba5445992e06148ac34363ec209cdb8b7c4..17a2f1d17d3207eea7e430627015b073286cefe4 100755 (executable)
@@ -9,7 +9,12 @@ CFLAGS_common.o += -DTEXT_OFFSET=$(TEXT_OFFSET)
 obj-y += ddr.o
 obj-y += devices.o
 obj-y += io.o
-obj-$(CONFIG_ARCH_RK30XX) += iomux.o
+ifeq ($(CONFIG_ARCH_RK30XX),y)
+obj-y += iomux.o
+obj-$(CONFIG_CPU_FREQ) += cpufreq.o
+else
+obj-$(CONFIG_CPU_FREQ) += ../mach-rk3188/cpufreq.o
+endif
 obj-y += pmu.o
 obj-y += reset.o
 obj-y += timer.o
@@ -19,7 +24,6 @@ obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
 obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
 obj-$(CONFIG_PM) += pm.o
 obj-$(CONFIG_CPU_IDLE) += cpuidle.o
-obj-$(CONFIG_CPU_FREQ) += cpufreq.o
 obj-$(CONFIG_DVFS) += dvfs.o
 obj-$(CONFIG_RK30_I2C_INSRAM) += i2c_sram.o