xref: /openbmc/linux/arch/sh/kernel/cpu/sh4a/Makefile (revision 0436ec15)
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
1041504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7343)	+= setup-sh7343.o
1141504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7722)	+= setup-sh7722.o
12178dd0cdSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7723)	+= setup-sh7723.o
139109a30eSMagnus Dammobj-$(CONFIG_CPU_SUBTYPE_SH7366)	+= setup-sh7366.o
142b1bd1acSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SHX3)		+= setup-shx3.o
1541504c39SPaul Mundt
161a442fe0SPaul Mundt# SMP setup
171a442fe0SPaul Mundtsmp-$(CONFIG_CPU_SUBTYPE_SHX3)		:= smp-shx3.o
181a442fe0SPaul Mundt
1941504c39SPaul Mundt# Primary on-chip clocks (common)
207d740a06SYoshihiro Shimodaclock-$(CONFIG_CPU_SUBTYPE_SH7763)	:= clock-sh7763.o
2141504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7770)	:= clock-sh7770.o
2241504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7780)	:= clock-sh7780.o
2332351a28SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7785)	:= clock-sh7785.o
241312994cSMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7343)	:= clock-sh7722.o
251929cb34Sdmitry pervushinclock-$(CONFIG_CPU_SUBTYPE_SH7722)	:= clock-sh7722.o
26178dd0cdSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7723)	:= clock-sh7722.o
279109a30eSMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7366)	:= clock-sh7722.o
282b1bd1acSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SHX3)	:= clock-shx3.o
2941504c39SPaul Mundt
308d7b5b0aSMagnus Damm# Pinmux setup
318d7b5b0aSMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7722)	:= pinmux-sh7722.o
320436ec15SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
338d7b5b0aSMagnus Damm
3441504c39SPaul Mundtobj-y			+= $(clock-y)
351a442fe0SPaul Mundtobj-$(CONFIG_SMP)	+= $(smp-y)
368d7b5b0aSMagnus Dammobj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)
37