1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the Linux/SuperH SH-3 backends. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 6a276e588SMagnus Dammobj-y := ex.o probe.o entry.o setup-sh3.o 71da177e4SLinus Torvalds 82ef7f0daSMagnus Dammobj-$(CONFIG_HIBERNATION) += swsusp.o 92ef7f0daSMagnus Damm 107dec62e9SPaul Mundt# CPU subtype setup 1161a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7705) += setup-sh7705.o serial-sh770x.o 1261a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh770x.o serial-sh770x.o 1361a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh770x.o serial-sh770x.o 1461a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh770x.o serial-sh770x.o 1561a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh770x.o serial-sh770x.o 1661a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o serial-sh7710.o 1761a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o serial-sh7710.o 1861a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7720) += setup-sh7720.o serial-sh7720.o 1961a6976bSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7721) += setup-sh7720.o serial-sh7720.o 207dec62e9SPaul Mundt 217dec62e9SPaul Mundt# Primary on-chip clocks (common) 2236ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH3) := clock-sh3.o 2336ddf31bSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7705) := clock-sh7705.o 24e5723e0eSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7706) := clock-sh7706.o 2536ddf31bSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7709) := clock-sh7709.o 26d89ddd1cSMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7710) := clock-sh7710.o 273ea6bc3dSMarkus Brunnerclock-$(CONFIG_CPU_SUBTYPE_SH7720) := clock-sh7710.o 28c3aa92afSAndrew Murrayclock-$(CONFIG_CPU_SUBTYPE_SH7712) := clock-sh7712.o 2936ddf31bSPaul Mundt 30c9c3c1b7SMagnus Damm# Pinmux setup 31c9c3c1b7SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7720) := pinmux-sh7720.o 32c9c3c1b7SMagnus Damm 3336ddf31bSPaul Mundtobj-y += $(clock-y) 3495188aafSAlexandre Courbotobj-$(CONFIG_GPIOLIB) += $(pinmux-y) 35