blob: d3d8d6ced34239fa5196953701cc70f75d915a81 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Aneesh V7ec94452012-04-27 17:54:05 +05302#
3# Makefile for memory devices
4#
5
Masahiro Yamada7b43b8f2019-06-03 17:12:32 +09006obj-$(CONFIG_DDR) += jedec_ddr_data.o
Stephen Warren7c304d72012-09-05 12:29:23 -06007ifeq ($(CONFIG_DDR),y)
Aneesh Ve6b42eb2012-08-17 14:05:15 +05308obj-$(CONFIG_OF) += of_memory.o
Stephen Warren7c304d72012-09-05 12:29:23 -06009endif
Joachim Eastwood17c50b72015-07-13 23:20:11 +020010obj-$(CONFIG_ARM_PL172_MPMC) += pl172.o
Alexandre Bellonie81b6ab2014-07-08 18:21:12 +020011obj-$(CONFIG_ATMEL_SDRAMC) += atmel-sdramc.o
Boris Brezillon6a4ec4c2016-05-23 09:44:54 +020012obj-$(CONFIG_ATMEL_EBI) += atmel-ebi.o
Markus Mayer2f330ca2017-08-24 16:36:26 -070013obj-$(CONFIG_ARCH_BRCMSTB) += brcmstb_dpfe.o
Serge Semin83ca8b32020-05-26 15:59:28 +030014obj-$(CONFIG_BT1_L2_CTL) += bt1-l2-ctl.o
Ivan Khoronzhuk5a7c8152014-02-24 19:26:11 +020015obj-$(CONFIG_TI_AEMIF) += ti-aemif.o
Aneesh V7ec94452012-04-27 17:54:05 +053016obj-$(CONFIG_TI_EMIF) += emif.o
Tony Lindgren18640192014-11-20 09:13:42 -080017obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o
Scott Wood54afbec2014-07-02 18:52:11 -050018obj-$(CONFIG_FSL_CORENET_CF) += fsl-corenet-cf.o
Prabhakar Kushwahad2ae2e22014-01-17 11:15:16 +053019obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
Ezequiel Garcia3edad322013-04-23 16:21:26 -030020obj-$(CONFIG_MVEBU_DEVBUS) += mvebu-devbus.o
Alex Smith911a8882015-03-09 14:29:04 +000021obj-$(CONFIG_JZ4780_NEMC) += jz4780-nemc.o
Yong Wucc8bbe12016-02-23 01:20:49 +080022obj-$(CONFIG_MTK_SMI) += mtk-smi.o
Bartosz Golaszewski62a8a732016-10-31 15:45:34 +010023obj-$(CONFIG_DA8XX_DDRCTL) += da8xx-ddrctl.o
Naga Sureshkumar Rellifee10bd2018-12-06 18:17:34 +053024obj-$(CONFIG_PL353_SMC) += pl353-smc.o
Christophe Kerello66b81732020-06-12 17:22:40 +020025obj-$(CONFIG_STM32_FMC2_EBI) += stm32-fmc2-ebi.o
Thierry Reding89184652014-04-16 09:24:44 +020026
Pankaj Dubeya8aabb92016-04-11 13:12:24 +053027obj-$(CONFIG_SAMSUNG_MC) += samsung/
Thierry Reding89184652014-04-16 09:24:44 +020028obj-$(CONFIG_TEGRA_MC) += tegra/
Dave Gerlach8428e5a2015-06-17 14:52:10 -050029obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o
30ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
31
32AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a
33
Masahiro Yamadaeef58fd2019-04-12 12:09:41 +090034$(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
Masahiro Yamadaad4d1212019-03-30 21:04:18 +090035
Masahiro Yamadaeef58fd2019-04-12 12:09:41 +090036$(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
Masahiro Yamadaad4d1212019-03-30 21:04:18 +090037 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
38
39targets += emif-asm-offsets.s
Masahiro Yamadaeef58fd2019-04-12 12:09:41 +090040clean-files += ti-emif-asm-offsets.h