xref: /openbmc/linux/arch/sh/kernel/cpu/sh4a/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
241504c39SPaul Mundt#
341504c39SPaul Mundt# Makefile for the Linux/SuperH SH-4 backends.
441504c39SPaul Mundt#
541504c39SPaul Mundt
641504c39SPaul Mundt# CPU subtype setup
7c01f0f1aSYoshihiro Shimodaobj-$(CONFIG_CPU_SUBTYPE_SH7757)	+= setup-sh7757.o
87d740a06SYoshihiro Shimodaobj-$(CONFIG_CPU_SUBTYPE_SH7763)	+= setup-sh7763.o
941504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7770)	+= setup-sh7770.o
1041504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7780)	+= setup-sh7780.o
1132351a28SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7785)	+= setup-sh7785.o
12e15f6870SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7786)	+= setup-sh7786.o intc-shx3.o
1341504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7343)	+= setup-sh7343.o
1461a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7722)	+= setup-sh7722.o serial-sh7722.o
15178dd0cdSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7723)	+= setup-sh7723.o
160207a2efSKuninori Morimotoobj-$(CONFIG_CPU_SUBTYPE_SH7724)	+= setup-sh7724.o
17fea88a0cSNobuhiro Iwamatsuobj-$(CONFIG_CPU_SUBTYPE_SH7734)	+= setup-sh7734.o
189109a30eSMagnus Dammobj-$(CONFIG_CPU_SUBTYPE_SH7366)	+= setup-sh7366.o
19e15f6870SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SHX3)		+= setup-shx3.o intc-shx3.o
2041504c39SPaul Mundt
211a442fe0SPaul Mundt# SMP setup
222eb2a436SPaul Mundtsmp-$(CONFIG_CPU_SHX3)			:= smp-shx3.o
231a442fe0SPaul Mundt
2441504c39SPaul Mundt# Primary on-chip clocks (common)
25c01f0f1aSYoshihiro Shimodaclock-$(CONFIG_CPU_SUBTYPE_SH7757)	:= clock-sh7757.o
267d740a06SYoshihiro Shimodaclock-$(CONFIG_CPU_SUBTYPE_SH7763)	:= clock-sh7763.o
2741504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7770)	:= clock-sh7770.o
2841504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7780)	:= clock-sh7780.o
2932351a28SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7785)	:= clock-sh7785.o
3055ba99ebSKuninori Morimotoclock-$(CONFIG_CPU_SUBTYPE_SH7786)	:= clock-sh7786.o
31bc49b6eaSMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7343)	:= clock-sh7343.o
326a06d5bfSGuennadi Liakhovetskiclock-$(CONFIG_CPU_SUBTYPE_SH7722)	:= clock-sh7722.o
337fa4632dSGuennadi Liakhovetskiclock-$(CONFIG_CPU_SUBTYPE_SH7723)	:= clock-sh7723.o
348cc88a55SGuennadi Liakhovetskiclock-$(CONFIG_CPU_SUBTYPE_SH7724)	:= clock-sh7724.o
35fea88a0cSNobuhiro Iwamatsuclock-$(CONFIG_CPU_SUBTYPE_SH7734)	:= clock-sh7734.o
364ed37394SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7366)	:= clock-sh7366.o
372b1bd1acSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SHX3)	:= clock-shx3.o
3841504c39SPaul Mundt
398d7b5b0aSMagnus Damm# Pinmux setup
408d7b5b0aSMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7722)	:= pinmux-sh7722.o
410436ec15SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
420207a2efSKuninori Morimotopinmux-$(CONFIG_CPU_SUBTYPE_SH7724)	:= pinmux-sh7724.o
43856cb4bbSNobuhiro Iwamatsupinmux-$(CONFIG_CPU_SUBTYPE_SH7734)	:= pinmux-sh7734.o
44c01f0f1aSYoshihiro Shimodapinmux-$(CONFIG_CPU_SUBTYPE_SH7757)	:= pinmux-sh7757.o
450835f127SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7785)	:= pinmux-sh7785.o
4655ba99ebSKuninori Morimotopinmux-$(CONFIG_CPU_SUBTYPE_SH7786)	:= pinmux-sh7786.o
47720a6bd7SPaul Mundtpinmux-$(CONFIG_CPU_SUBTYPE_SHX3)	:= pinmux-shx3.o
488d7b5b0aSMagnus Damm
4941504c39SPaul Mundtobj-y					+= $(clock-y)
501a442fe0SPaul Mundtobj-$(CONFIG_SMP)			+= $(smp-y)
5195188aafSAlexandre Courbotobj-$(CONFIG_GPIOLIB)			+= $(pinmux-y)
52ac44e669SPaul Mundtobj-$(CONFIG_PERF_EVENTS)		+= perf_event.o
534352fc1bSPaul Mundtobj-$(CONFIG_HAVE_HW_BREAKPOINT)	+= ubc.o
54