18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Makefile for memory devices
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciobj-$(CONFIG_DDR)		+= jedec_ddr_data.o
78c2ecf20Sopenharmony_ciifeq ($(CONFIG_DDR),y)
88c2ecf20Sopenharmony_ciobj-$(CONFIG_OF)		+= of_memory.o
98c2ecf20Sopenharmony_ciendif
108c2ecf20Sopenharmony_ciobj-$(CONFIG_ARM_PL172_MPMC)	+= pl172.o
118c2ecf20Sopenharmony_ciobj-$(CONFIG_ATMEL_SDRAMC)	+= atmel-sdramc.o
128c2ecf20Sopenharmony_ciobj-$(CONFIG_ATMEL_EBI)		+= atmel-ebi.o
138c2ecf20Sopenharmony_ciobj-$(CONFIG_BRCMSTB_DPFE)	+= brcmstb_dpfe.o
148c2ecf20Sopenharmony_ciobj-$(CONFIG_BT1_L2_CTL)	+= bt1-l2-ctl.o
158c2ecf20Sopenharmony_ciobj-$(CONFIG_TI_AEMIF)		+= ti-aemif.o
168c2ecf20Sopenharmony_ciobj-$(CONFIG_TI_EMIF)		+= emif.o
178c2ecf20Sopenharmony_ciobj-$(CONFIG_OMAP_GPMC)		+= omap-gpmc.o
188c2ecf20Sopenharmony_ciobj-$(CONFIG_FSL_CORENET_CF)	+= fsl-corenet-cf.o
198c2ecf20Sopenharmony_ciobj-$(CONFIG_FSL_IFC)		+= fsl_ifc.o
208c2ecf20Sopenharmony_ciobj-$(CONFIG_MVEBU_DEVBUS)	+= mvebu-devbus.o
218c2ecf20Sopenharmony_ciobj-$(CONFIG_JZ4780_NEMC)	+= jz4780-nemc.o
228c2ecf20Sopenharmony_ciobj-$(CONFIG_MTK_SMI)		+= mtk-smi.o
238c2ecf20Sopenharmony_ciobj-$(CONFIG_DA8XX_DDRCTL)	+= da8xx-ddrctl.o
248c2ecf20Sopenharmony_ciobj-$(CONFIG_PL353_SMC)		+= pl353-smc.o
258c2ecf20Sopenharmony_ciobj-$(CONFIG_RENESAS_RPCIF)	+= renesas-rpc-if.o
268c2ecf20Sopenharmony_ciobj-$(CONFIG_STM32_FMC2_EBI)	+= stm32-fmc2-ebi.o
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciobj-$(CONFIG_SAMSUNG_MC)	+= samsung/
298c2ecf20Sopenharmony_ciobj-$(CONFIG_TEGRA_MC)		+= tegra/
308c2ecf20Sopenharmony_ciobj-$(CONFIG_TI_EMIF_SRAM)	+= ti-emif-sram.o
318c2ecf20Sopenharmony_citi-emif-sram-objs		:= ti-emif-pm.o ti-emif-sram-pm.o
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciAFLAGS_ti-emif-sram-pm.o	:=-Wa,-march=armv7-a
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci$(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci$(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
388c2ecf20Sopenharmony_ci	$(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_citargets += emif-asm-offsets.s
418c2ecf20Sopenharmony_ciclean-files += ti-emif-asm-offsets.h
42