diff options
| -rw-r--r-- | arch/powerpc/cpu/mpc83xx/Makefile | 4 | ||||
| -rw-r--r-- | include/configs/MPC8349EMDS.h | 1 | 
2 files changed, 2 insertions, 3 deletions
| diff --git a/arch/powerpc/cpu/mpc83xx/Makefile b/arch/powerpc/cpu/mpc83xx/Makefile index c345dd6ae..cf9116274 100644 --- a/arch/powerpc/cpu/mpc83xx/Makefile +++ b/arch/powerpc/cpu/mpc83xx/Makefile @@ -38,9 +38,7 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o  # Stub implementations of cache management functions for USB  obj-y += cache.o -ifdef CONFIG_SYS_FSL_DDR2 -obj-$(CONFIG_MPC8349) += $(SRCTREE)/drivers/ddr/fsl/mpc85xx_ddr_gen2.o -else +ifndef CONFIG_SYS_FSL_DDRC_GEN2  obj-y += spd_sdram.o  endif  obj-$(CONFIG_SYS_FSL_DDR2) += law.o diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h index a80a6966b..037484104 100644 --- a/include/configs/MPC8349EMDS.h +++ b/include/configs/MPC8349EMDS.h @@ -67,6 +67,7 @@   */  #define CONFIG_SYS_FSL_DDR2  #ifdef CONFIG_SYS_FSL_DDR2 +#define CONFIG_SYS_FSL_DDRC_GEN2  #define CONFIG_SYS_SPD_BUS_NUM	0  #define SPD_EEPROM_ADDRESS1	0x52  #define SPD_EEPROM_ADDRESS2	0x51 |