From: 黄涛 Date: Sat, 23 Feb 2013 05:28:40 +0000 (+0800) Subject: rk3066b: use rk3188 cpufreq driver X-Git-Tag: firefly_0821_release~7544 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8db1e9f2c392dd75b215f672fef516ee8421bfc5;p=firefly-linux-kernel-4.4.55.git rk3066b: use rk3188 cpufreq driver --- diff --git a/arch/arm/mach-rk30/Makefile b/arch/arm/mach-rk30/Makefile index 53d7fba54459..17a2f1d17d32 100755 --- a/arch/arm/mach-rk30/Makefile +++ b/arch/arm/mach-rk30/Makefile @@ -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