York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame^] | 1 | # |
| 2 | # Copyright 2008-2011 Freescale Semiconductor, Inc. |
| 3 | # |
| 4 | # This program is free software; you can redistribute it and/or |
| 5 | # modify it under the terms of the GNU General Public License |
| 6 | # Version 2 as published by the Free Software Foundation. |
| 7 | # |
| 8 | |
| 9 | obj-$(CONFIG_SYS_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \ |
| 10 | lc_common_dimm_params.o |
| 11 | |
| 12 | obj-$(CONFIG_SYS_FSL_DDR2) += main.o util.o ctrl_regs.o options.o \ |
| 13 | lc_common_dimm_params.o |
| 14 | |
| 15 | obj-$(CONFIG_SYS_FSL_DDR3) += main.o util.o ctrl_regs.o options.o \ |
| 16 | lc_common_dimm_params.o |
| 17 | ifdef CONFIG_DDR_SPD |
| 18 | SPD := y |
| 19 | endif |
| 20 | ifdef CONFIG_SPD_EEPROM |
| 21 | SPD := y |
| 22 | endif |
| 23 | ifdef SPD |
| 24 | obj-$(CONFIG_SYS_FSL_DDR1) += ddr1_dimm_params.o |
| 25 | obj-$(CONFIG_SYS_FSL_DDR2) += ddr2_dimm_params.o |
| 26 | obj-$(CONFIG_SYS_FSL_DDR3) += ddr3_dimm_params.o |
| 27 | endif |
| 28 | |
| 29 | obj-$(CONFIG_FSL_DDR_INTERACTIVE) += interactive.o |
| 30 | obj-$(CONFIG_SYS_FSL_DDRC_GEN1) += mpc85xx_ddr_gen1.o |
| 31 | obj-$(CONFIG_SYS_FSL_DDRC_GEN2) += mpc85xx_ddr_gen2.o |
| 32 | obj-$(CONFIG_SYS_FSL_DDRC_GEN3) += mpc85xx_ddr_gen3.o |
| 33 | obj-$(CONFIG_SYS_FSL_DDR_86XX) += mpc86xx_ddr.o |
| 34 | obj-$(CONFIG_FSL_DDR_INTERACTIVE) += interactive.o |