xref: /openbmc/u-boot/drivers/ddr/fsl/Makefile (revision 5614e71b)
1*5614e71bSYork Sun#
2*5614e71bSYork Sun# Copyright 2008-2011 Freescale Semiconductor, Inc.
3*5614e71bSYork Sun#
4*5614e71bSYork Sun# This program is free software; you can redistribute it and/or
5*5614e71bSYork Sun# modify it under the terms of the GNU General Public License
6*5614e71bSYork Sun# Version 2 as published by the Free Software Foundation.
7*5614e71bSYork Sun#
8*5614e71bSYork Sun
9*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR1)	+= main.o util.o ctrl_regs.o options.o \
10*5614e71bSYork Sun				   lc_common_dimm_params.o
11*5614e71bSYork Sun
12*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR2)	+= main.o util.o ctrl_regs.o options.o \
13*5614e71bSYork Sun				   lc_common_dimm_params.o
14*5614e71bSYork Sun
15*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR3)	+= main.o util.o ctrl_regs.o options.o \
16*5614e71bSYork Sun				   lc_common_dimm_params.o
17*5614e71bSYork Sunifdef CONFIG_DDR_SPD
18*5614e71bSYork SunSPD := y
19*5614e71bSYork Sunendif
20*5614e71bSYork Sunifdef CONFIG_SPD_EEPROM
21*5614e71bSYork SunSPD := y
22*5614e71bSYork Sunendif
23*5614e71bSYork Sunifdef SPD
24*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR1)	+= ddr1_dimm_params.o
25*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR2)	+= ddr2_dimm_params.o
26*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR3)	+= ddr3_dimm_params.o
27*5614e71bSYork Sunendif
28*5614e71bSYork Sun
29*5614e71bSYork Sunobj-$(CONFIG_FSL_DDR_INTERACTIVE)	+= interactive.o
30*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN1)	+= mpc85xx_ddr_gen1.o
31*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN2)	+= mpc85xx_ddr_gen2.o
32*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDRC_GEN3)	+= mpc85xx_ddr_gen3.o
33*5614e71bSYork Sunobj-$(CONFIG_SYS_FSL_DDR_86XX)		+= mpc86xx_ddr.o
34*5614e71bSYork Sunobj-$(CONFIG_FSL_DDR_INTERACTIVE)	+= interactive.o
35