York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 1 | # |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 2 | # Copyright 2008-2014 Freescale Semiconductor, Inc. |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 3 | # |
Tom Rini | da58dec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 5 | # |
| 6 | |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_SYS_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \ |
| 8 | lc_common_dimm_params.o |
| 9 | obj-$(CONFIG_SYS_FSL_DDR2) += main.o util.o ctrl_regs.o options.o \ |
| 10 | lc_common_dimm_params.o |
| 11 | obj-$(CONFIG_SYS_FSL_DDR3) += main.o util.o ctrl_regs.o options.o \ |
| 12 | lc_common_dimm_params.o |
| 13 | obj-$(CONFIG_SYS_FSL_DDR4) += main.o util.o ctrl_regs.o options.o \ |
| 14 | lc_common_dimm_params.o |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 15 | |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 16 | ifdef CONFIG_DDR_SPD |
| 17 | SPD := y |
| 18 | endif |
| 19 | ifdef CONFIG_SPD_EEPROM |
| 20 | SPD := y |
| 21 | endif |
| 22 | ifdef SPD |
| 23 | obj-$(CONFIG_SYS_FSL_DDR1) += ddr1_dimm_params.o |
| 24 | obj-$(CONFIG_SYS_FSL_DDR2) += ddr2_dimm_params.o |
| 25 | obj-$(CONFIG_SYS_FSL_DDR3) += ddr3_dimm_params.o |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_SYS_FSL_DDR4) += ddr4_dimm_params.o |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 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 |
York Sun | 9ac4ffb | 2013-09-30 14:20:51 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_SYS_FSL_DDRC_ARM_GEN3) += arm_ddr_gen3.o |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_SYS_FSL_DDRC_GEN4) += fsl_ddr_gen4.o |
Shengzhou Liu | b9e745b | 2016-08-26 18:30:39 +0800 | [diff] [blame] | 36 | obj-$(CONFIG_SYS_FSL_MMDC) += fsl_mmdc.o |