xref: /openbmc/u-boot/drivers/ddr/fsl/Makefile (revision b9e745bb)
15614e71bSYork Sun#
234e026f9SYork Sun# Copyright 2008-2014 Freescale Semiconductor, Inc.
35614e71bSYork Sun#
4da58dec8STom Rini# SPDX-License-Identifier:	GPL-2.0
55614e71bSYork Sun#
65614e71bSYork Sun
75614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \
85614e71bSYork Sun				lc_common_dimm_params.o
95614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR2) += main.o util.o ctrl_regs.o options.o \
105614e71bSYork Sun				lc_common_dimm_params.o
115614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR3) += main.o util.o ctrl_regs.o options.o \
125614e71bSYork Sun				lc_common_dimm_params.o
1334e026f9SYork Sunobj-$(CONFIG_SYS_FSL_DDR4) += main.o util.o ctrl_regs.o options.o \
1434e026f9SYork Sun				lc_common_dimm_params.o
1534e026f9SYork Sun
165614e71bSYork Sunifdef CONFIG_DDR_SPD
175614e71bSYork SunSPD := y
185614e71bSYork Sunendif
195614e71bSYork Sunifdef CONFIG_SPD_EEPROM
205614e71bSYork SunSPD := y
215614e71bSYork Sunendif
225614e71bSYork Sunifdef SPD
235614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR1)	+= ddr1_dimm_params.o
245614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR2)	+= ddr2_dimm_params.o
255614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR3)	+= ddr3_dimm_params.o
2634e026f9SYork Sunobj-$(CONFIG_SYS_FSL_DDR4)	+= ddr4_dimm_params.o
275614e71bSYork Sunendif
285614e71bSYork Sun
295614e71bSYork Sunobj-$(CONFIG_FSL_DDR_INTERACTIVE)	+= interactive.o
305614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN1)	+= mpc85xx_ddr_gen1.o
315614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN2)	+= mpc85xx_ddr_gen2.o
325614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN3)	+= mpc85xx_ddr_gen3.o
335614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR_86XX)		+= mpc86xx_ddr.o
349ac4ffbdSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_ARM_GEN3)	+= arm_ddr_gen3.o
3534e026f9SYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN4) += fsl_ddr_gen4.o
36*b9e745bbSShengzhou Liuobj-$(CONFIG_SYS_FSL_MMDC) += fsl_mmdc.o
37