]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc8641hpcn/mpc8641hpcn.c
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[u-boot] / board / freescale / mpc8641hpcn / mpc8641hpcn.c
index 6b4d6cec9d8e235cc89b20f953b21e1055883e99..0069b9cd471107aef89f1268823b19ec6d044ef7 100644 (file)
 
 #include "../common/pixis.h"
 
-#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
-extern void ddr_enable_ecc(unsigned int dram_size);
-#endif
-
 long int fixed_sdram(void);
 
 int board_early_init_f(void)
@@ -70,13 +66,6 @@ initdram(int board_type)
        return dram_size;
 #endif
 
-#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
-       /*
-        * Initialize and enable DDR ECC.
-        */
-       ddr_enable_ecc(dram_size);
-#endif
-
        puts("    DDR: ");
        return dram_size;
 }