mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
9ac4ffbde1
Make PowerPC specific code conditional so ARM SoCs can reuse this driver. Add DDR3 driver for ARM. Signed-off-by: York Sun <yorksun@freescale.com>
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
#
|
|
# Copyright 2008-2011 Freescale Semiconductor, Inc.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# Version 2 as published by the Free Software Foundation.
|
|
#
|
|
|
|
obj-$(CONFIG_SYS_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \
|
|
lc_common_dimm_params.o
|
|
|
|
obj-$(CONFIG_SYS_FSL_DDR2) += main.o util.o ctrl_regs.o options.o \
|
|
lc_common_dimm_params.o
|
|
|
|
obj-$(CONFIG_SYS_FSL_DDR3) += main.o util.o ctrl_regs.o options.o \
|
|
lc_common_dimm_params.o
|
|
ifdef CONFIG_DDR_SPD
|
|
SPD := y
|
|
endif
|
|
ifdef CONFIG_SPD_EEPROM
|
|
SPD := y
|
|
endif
|
|
ifdef SPD
|
|
obj-$(CONFIG_SYS_FSL_DDR1) += ddr1_dimm_params.o
|
|
obj-$(CONFIG_SYS_FSL_DDR2) += ddr2_dimm_params.o
|
|
obj-$(CONFIG_SYS_FSL_DDR3) += ddr3_dimm_params.o
|
|
endif
|
|
|
|
obj-$(CONFIG_FSL_DDR_INTERACTIVE) += interactive.o
|
|
obj-$(CONFIG_SYS_FSL_DDRC_GEN1) += mpc85xx_ddr_gen1.o
|
|
obj-$(CONFIG_SYS_FSL_DDRC_GEN2) += mpc85xx_ddr_gen2.o
|
|
obj-$(CONFIG_SYS_FSL_DDRC_GEN3) += mpc85xx_ddr_gen3.o
|
|
obj-$(CONFIG_SYS_FSL_DDR_86XX) += mpc86xx_ddr.o
|
|
obj-$(CONFIG_SYS_FSL_DDRC_ARM_GEN3) += arm_ddr_gen3.o
|