xref: /openbmc/linux/arch/sh/kernel/cpu/sh4a/Makefile (revision 6ba4a8f0)
141504c39SPaul Mundt#
241504c39SPaul Mundt# Makefile for the Linux/SuperH SH-4 backends.
341504c39SPaul Mundt#
441504c39SPaul Mundt
541504c39SPaul Mundt# CPU subtype setup
67d740a06SYoshihiro Shimodaobj-$(CONFIG_CPU_SUBTYPE_SH7763)	+= setup-sh7763.o
741504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7770)	+= setup-sh7770.o
841504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7780)	+= setup-sh7780.o
932351a28SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7785)	+= setup-sh7785.o
1055ba99ebSKuninori Morimotoobj-$(CONFIG_CPU_SUBTYPE_SH7786)	+= setup-sh7786.o
1141504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7343)	+= setup-sh7343.o
1241504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7722)	+= setup-sh7722.o
13178dd0cdSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7723)	+= setup-sh7723.o
140207a2efSKuninori Morimotoobj-$(CONFIG_CPU_SUBTYPE_SH7724)	+= setup-sh7724.o
159109a30eSMagnus Dammobj-$(CONFIG_CPU_SUBTYPE_SH7366)	+= setup-sh7366.o
162b1bd1acSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SHX3)		+= setup-shx3.o
1741504c39SPaul Mundt
181a442fe0SPaul Mundt# SMP setup
192eb2a436SPaul Mundtsmp-$(CONFIG_CPU_SHX3)			:= smp-shx3.o
201a442fe0SPaul Mundt
2141504c39SPaul Mundt# Primary on-chip clocks (common)
227d740a06SYoshihiro Shimodaclock-$(CONFIG_CPU_SUBTYPE_SH7763)	:= clock-sh7763.o
2341504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7770)	:= clock-sh7770.o
2441504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7780)	:= clock-sh7780.o
2532351a28SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7785)	:= clock-sh7785.o
2655ba99ebSKuninori Morimotoclock-$(CONFIG_CPU_SUBTYPE_SH7786)	:= clock-sh7786.o
27bc49b6eaSMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7343)	:= clock-sh7343.o
28a61c1a63SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7722)	:= clock-sh7722.o hwblk-sh7722.o
292094e504SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7723)	:= clock-sh7723.o hwblk-sh7723.o
306ba4a8f0SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7724)	:= clock-sh7724.o hwblk-sh7724.o
314ed37394SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7366)	:= clock-sh7366.o
322b1bd1acSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SHX3)	:= clock-shx3.o
3341504c39SPaul Mundt
348d7b5b0aSMagnus Damm# Pinmux setup
358d7b5b0aSMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7722)	:= pinmux-sh7722.o
360436ec15SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
370207a2efSKuninori Morimotopinmux-$(CONFIG_CPU_SUBTYPE_SH7724)	:= pinmux-sh7724.o
380835f127SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7785)	:= pinmux-sh7785.o
3955ba99ebSKuninori Morimotopinmux-$(CONFIG_CPU_SUBTYPE_SH7786)	:= pinmux-sh7786.o
408d7b5b0aSMagnus Damm
4141504c39SPaul Mundtobj-y				+= $(clock-y)
421a442fe0SPaul Mundtobj-$(CONFIG_SMP)		+= $(smp-y)
438d7b5b0aSMagnus Dammobj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)
44