xref: /linux/drivers/memory/Makefile (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
27ec94453SAneesh V#
37ec94453SAneesh V# Makefile for memory devices
47ec94453SAneesh V#
57ec94453SAneesh V
67b43b8fdSMasahiro Yamadaobj-$(CONFIG_DDR)		+= jedec_ddr_data.o
77c304d7eSStephen Warrenifeq ($(CONFIG_DDR),y)
8e6b42eb6SAneesh Vobj-$(CONFIG_OF)		+= of_memory.o
97c304d7eSStephen Warrenendif
1017c50b70SJoachim Eastwoodobj-$(CONFIG_ARM_PL172_MPMC)	+= pl172.o
116a4ec4cdSBoris Brezillonobj-$(CONFIG_ATMEL_EBI)		+= atmel-ebi.o
12904ffa81SKrzysztof Kozlowskiobj-$(CONFIG_BRCMSTB_DPFE)	+= brcmstb_dpfe.o
13*a4be90ffSFlorian Fainelliobj-$(CONFIG_BRCMSTB_MEMC)	+= brcmstb_memc.o
1483ca8b3eSSerge Seminobj-$(CONFIG_BT1_L2_CTL)	+= bt1-l2-ctl.o
155a7c8154SIvan Khoronzhukobj-$(CONFIG_TI_AEMIF)		+= ti-aemif.o
167ec94453SAneesh Vobj-$(CONFIG_TI_EMIF)		+= emif.o
1718640193STony Lindgrenobj-$(CONFIG_OMAP_GPMC)		+= omap-gpmc.o
1854afbec0SScott Woodobj-$(CONFIG_FSL_CORENET_CF)	+= fsl-corenet-cf.o
19d2ae2e20SPrabhakar Kushwahaobj-$(CONFIG_FSL_IFC)		+= fsl_ifc.o
203edad321SEzequiel Garciaobj-$(CONFIG_MVEBU_DEVBUS)	+= mvebu-devbus.o
21911a8882SAlex Smithobj-$(CONFIG_JZ4780_NEMC)	+= jz4780-nemc.o
22cc8bbe1aSYong Wuobj-$(CONFIG_MTK_SMI)		+= mtk-smi.o
2362a8a739SBartosz Golaszewskiobj-$(CONFIG_DA8XX_DDRCTL)	+= da8xx-ddrctl.o
24fee10bd2SNaga Sureshkumar Relliobj-$(CONFIG_PL353_SMC)		+= pl353-smc.o
25ca7d8b98SSergei Shtylyovobj-$(CONFIG_RENESAS_RPCIF)	+= renesas-rpc-if.o
2666b8173aSChristophe Kerelloobj-$(CONFIG_STM32_FMC2_EBI)	+= stm32-fmc2-ebi.o
2789184651SThierry Reding
28a8aabb91SPankaj Dubeyobj-$(CONFIG_SAMSUNG_MC)	+= samsung/
2989184651SThierry Redingobj-$(CONFIG_TEGRA_MC)		+= tegra/
308428e5adSDave Gerlachobj-$(CONFIG_TI_EMIF_SRAM)	+= ti-emif-sram.o
31477dfdccSXu Yilunobj-$(CONFIG_FPGA_DFL_EMIF)	+= dfl-emif.o
32477dfdccSXu Yilun
338428e5adSDave Gerlachti-emif-sram-objs		:= ti-emif-pm.o ti-emif-sram-pm.o
348428e5adSDave Gerlach
35eef58fddSMasahiro Yamada$(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
36ad4d1216SMasahiro Yamada
37eef58fddSMasahiro Yamada$(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
38ad4d1216SMasahiro Yamada	$(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
39ad4d1216SMasahiro Yamada
40ad4d1216SMasahiro Yamadatargets += emif-asm-offsets.s
41eef58fddSMasahiro Yamadaclean-files += ti-emif-asm-offsets.h
42