From: Stefan Roese Date: Mon, 2 Jun 2008 15:22:11 +0000 (+0200) Subject: ppc4xx: Use new 4xx SDRAM controller enable defines in common ECC code X-Git-Tag: v1.3.4-rc1~109^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=192f90e272b3989ee7b4a666d1fdab831f20f8d2;p=u-boot ppc4xx: Use new 4xx SDRAM controller enable defines in common ECC code Signed-off-by: Stefan Roese --- diff --git a/cpu/ppc4xx/ecc.c b/cpu/ppc4xx/ecc.c index 3e87c8442c..a2eb07bd75 100644 --- a/cpu/ppc4xx/ecc.c +++ b/cpu/ppc4xx/ecc.c @@ -45,7 +45,8 @@ #include "ecc.h" -#if !defined(CONFIG_440EPX) && !defined(CONFIG_440GRX) +#if defined(CONFIG_SDRAM_PPC4xx_IBM_DDR) || \ + defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) #if defined(CONFIG_DDR_ECC) || defined(CONFIG_SDRAM_ECC) /* * void ecc_init() @@ -118,4 +119,4 @@ void ecc_init(unsigned long * const start, unsigned long size) SDRAM_ECC_CFG_MCHK_CHK)); } #endif /* defined(CONFIG_DDR_ECC) || defined(CONFIG_SDRAM_ECC) */ -#endif /* !defined(CONFIG_440EPX) && !defined(CONFIG_440GRX) */ +#endif /* defined(CONFIG_SDRAM_PPC4xx_IBM_DDR)... */