1# 2# Copyright 2008-2014 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 9obj-$(CONFIG_SYS_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \ 10 lc_common_dimm_params.o 11obj-$(CONFIG_SYS_FSL_DDR2) += main.o util.o ctrl_regs.o options.o \ 12 lc_common_dimm_params.o 13obj-$(CONFIG_SYS_FSL_DDR3) += main.o util.o ctrl_regs.o options.o \ 14 lc_common_dimm_params.o 15obj-$(CONFIG_SYS_FSL_DDR4) += main.o util.o ctrl_regs.o options.o \ 16 lc_common_dimm_params.o 17 18ifdef CONFIG_DDR_SPD 19SPD := y 20endif 21ifdef CONFIG_SPD_EEPROM 22SPD := y 23endif 24ifdef SPD 25obj-$(CONFIG_SYS_FSL_DDR1) += ddr1_dimm_params.o 26obj-$(CONFIG_SYS_FSL_DDR2) += ddr2_dimm_params.o 27obj-$(CONFIG_SYS_FSL_DDR3) += ddr3_dimm_params.o 28obj-$(CONFIG_SYS_FSL_DDR4) += ddr4_dimm_params.o 29endif 30 31obj-$(CONFIG_FSL_DDR_INTERACTIVE) += interactive.o 32obj-$(CONFIG_SYS_FSL_DDRC_GEN1) += mpc85xx_ddr_gen1.o 33obj-$(CONFIG_SYS_FSL_DDRC_GEN2) += mpc85xx_ddr_gen2.o 34obj-$(CONFIG_SYS_FSL_DDRC_GEN3) += mpc85xx_ddr_gen3.o 35obj-$(CONFIG_SYS_FSL_DDR_86XX) += mpc86xx_ddr.o 36obj-$(CONFIG_SYS_FSL_DDRC_ARM_GEN3) += arm_ddr_gen3.o 37obj-$(CONFIG_SYS_FSL_DDRC_GEN4) += fsl_ddr_gen4.o 38