mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-31 19:41:46 +00:00
ppc4xx: Use new 4xx SDRAM controller enable defines in common ECC code
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
39b32be18c
commit
192f90e272
1 changed files with 3 additions and 2 deletions
|
@ -45,7 +45,8 @@
|
||||||
|
|
||||||
#include "ecc.h"
|
#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)
|
#if defined(CONFIG_DDR_ECC) || defined(CONFIG_SDRAM_ECC)
|
||||||
/*
|
/*
|
||||||
* void ecc_init()
|
* void ecc_init()
|
||||||
|
@ -118,4 +119,4 @@ void ecc_init(unsigned long * const start, unsigned long size)
|
||||||
SDRAM_ECC_CFG_MCHK_CHK));
|
SDRAM_ECC_CFG_MCHK_CHK));
|
||||||
}
|
}
|
||||||
#endif /* defined(CONFIG_DDR_ECC) || defined(CONFIG_SDRAM_ECC) */
|
#endif /* defined(CONFIG_DDR_ECC) || defined(CONFIG_SDRAM_ECC) */
|
||||||
#endif /* !defined(CONFIG_440EPX) && !defined(CONFIG_440GRX) */
|
#endif /* defined(CONFIG_SDRAM_PPC4xx_IBM_DDR)... */
|
||||||
|
|
Loading…
Add table
Reference in a new issue