74889e41d9
This patch reorganizes the code of the driver into three files. Two cbe_cpufreq_pmi.c and cbe_cpufreq_pervasive.c care about hardware. cbe_cpufreq.c contains the logic. There is no changed behaviour, except that the PMI related function is now located in a seperate module cbe_cpufreq_pmi. This module will be required by cbe_cpufreq, if CONFIG_CBE_CPUFREQ_PMI has been set. Signed-off-by: Christian Krafft <krafft@de.ibm.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
28 lines
876 B
Makefile
28 lines
876 B
Makefile
obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
|
|
cbe_regs.o spider-pic.o \
|
|
pervasive.o pmu.o io-workarounds.o
|
|
obj-$(CONFIG_CBE_RAS) += ras.o
|
|
|
|
obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
|
|
obj-$(CONFIG_CBE_CPUFREQ_PMI) += cbe_cpufreq_pmi.o
|
|
obj-$(CONFIG_CBE_CPUFREQ) += cbe-cpufreq.o
|
|
cbe-cpufreq-y += cbe_cpufreq_pervasive.o cbe_cpufreq.o
|
|
|
|
ifeq ($(CONFIG_SMP),y)
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
|
|
endif
|
|
|
|
# needed only when building loadable spufs.ko
|
|
spufs-modular-$(CONFIG_SPU_FS) += spu_syscalls.o
|
|
spu-priv1-$(CONFIG_PPC_CELL_NATIVE) += spu_priv1_mmio.o
|
|
|
|
spu-manage-$(CONFIG_PPC_CELLEB) += spu_manage.o
|
|
spu-manage-$(CONFIG_PPC_CELL_NATIVE) += spu_manage.o
|
|
|
|
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
|
|
spu_coredump.o \
|
|
$(spufs-modular-m) \
|
|
$(spu-priv1-y) \
|
|
$(spu-manage-y) \
|
|
spufs/
|