1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for memory devices 4# 5 6ifeq ($(CONFIG_DDR),y) 7obj-$(CONFIG_OF) += of_memory.o 8endif 9obj-$(CONFIG_ARM_PL172_MPMC) += pl172.o 10obj-$(CONFIG_ATMEL_SDRAMC) += atmel-sdramc.o 11obj-$(CONFIG_ATMEL_EBI) += atmel-ebi.o 12obj-$(CONFIG_ARCH_BRCMSTB) += brcmstb_dpfe.o 13obj-$(CONFIG_TI_AEMIF) += ti-aemif.o 14obj-$(CONFIG_TI_EMIF) += emif.o 15obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o 16obj-$(CONFIG_FSL_CORENET_CF) += fsl-corenet-cf.o 17obj-$(CONFIG_FSL_IFC) += fsl_ifc.o 18obj-$(CONFIG_MVEBU_DEVBUS) += mvebu-devbus.o 19obj-$(CONFIG_TEGRA20_MC) += tegra20-mc.o 20obj-$(CONFIG_JZ4780_NEMC) += jz4780-nemc.o 21obj-$(CONFIG_MTK_SMI) += mtk-smi.o 22obj-$(CONFIG_DA8XX_DDRCTL) += da8xx-ddrctl.o 23 24obj-$(CONFIG_SAMSUNG_MC) += samsung/ 25obj-$(CONFIG_TEGRA_MC) += tegra/ 26obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o 27ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o 28 29AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a 30 31include drivers/memory/Makefile.asm-offsets 32 33drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h 34