treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / memory / Makefile
blob27b493435e61ce8b2135d278e7a8e07e2f3f3eb2
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for memory devices
6 obj-$(CONFIG_DDR) += jedec_ddr_data.o
7 ifeq ($(CONFIG_DDR),y)
8 obj-$(CONFIG_OF) += of_memory.o
9 endif
10 obj-$(CONFIG_ARM_PL172_MPMC) += pl172.o
11 obj-$(CONFIG_ATMEL_SDRAMC) += atmel-sdramc.o
12 obj-$(CONFIG_ATMEL_EBI) += atmel-ebi.o
13 obj-$(CONFIG_ARCH_BRCMSTB) += brcmstb_dpfe.o
14 obj-$(CONFIG_TI_AEMIF) += ti-aemif.o
15 obj-$(CONFIG_TI_EMIF) += emif.o
16 obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o
17 obj-$(CONFIG_FSL_CORENET_CF) += fsl-corenet-cf.o
18 obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
19 obj-$(CONFIG_MVEBU_DEVBUS) += mvebu-devbus.o
20 obj-$(CONFIG_JZ4780_NEMC) += jz4780-nemc.o
21 obj-$(CONFIG_MTK_SMI) += mtk-smi.o
22 obj-$(CONFIG_DA8XX_DDRCTL) += da8xx-ddrctl.o
23 obj-$(CONFIG_PL353_SMC) += pl353-smc.o
25 obj-$(CONFIG_SAMSUNG_MC) += samsung/
26 obj-$(CONFIG_TEGRA_MC) += tegra/
27 obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o
28 ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
30 AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a
32 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
34 $(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
35 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
37 targets += emif-asm-offsets.s
38 clean-files += ti-emif-asm-offsets.h