xref: /openbmc/u-boot/drivers/ddr/fsl/Makefile (revision 9ac4ffbd)
15614e71bSYork Sun#
25614e71bSYork Sun# Copyright 2008-2011 Freescale Semiconductor, Inc.
35614e71bSYork Sun#
45614e71bSYork Sun# This program is free software; you can redistribute it and/or
55614e71bSYork Sun# modify it under the terms of the GNU General Public License
65614e71bSYork Sun# Version 2 as published by the Free Software Foundation.
75614e71bSYork Sun#
85614e71bSYork Sun
95614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR1)	+= main.o util.o ctrl_regs.o options.o \
105614e71bSYork Sun				   lc_common_dimm_params.o
115614e71bSYork Sun
125614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR2)	+= main.o util.o ctrl_regs.o options.o \
135614e71bSYork Sun				   lc_common_dimm_params.o
145614e71bSYork Sun
155614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR3)	+= main.o util.o ctrl_regs.o options.o \
165614e71bSYork Sun				   lc_common_dimm_params.o
175614e71bSYork Sunifdef CONFIG_DDR_SPD
185614e71bSYork SunSPD := y
195614e71bSYork Sunendif
205614e71bSYork Sunifdef CONFIG_SPD_EEPROM
215614e71bSYork SunSPD := y
225614e71bSYork Sunendif
235614e71bSYork Sunifdef SPD
245614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR1)	+= ddr1_dimm_params.o
255614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR2)	+= ddr2_dimm_params.o
265614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR3)	+= ddr3_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
34*9ac4ffbdSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_ARM_GEN3)	+= arm_ddr_gen3.o
35