]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/include/asm/fsl_ddr_sdram.h
mpc85xx boards: initdram() cleanup/bugfix
[karo-tx-uboot.git] / arch / powerpc / include / asm / fsl_ddr_sdram.h
index 17d4b319bcb4ecd603b7423e2321ac982c542ae2..8ceae18457259f412586263d0f5b7a8cc2c908ef 100644 (file)
@@ -214,6 +214,19 @@ typedef struct memctl_options_s {
 
 extern phys_size_t fsl_ddr_sdram(void);
 
+/*
+ * The 85xx boards have a common prototype for fixed_sdram so put the
+ * declaration here.
+ */
+#ifdef CONFIG_MPC85xx
+extern phys_size_t fixed_sdram(void);
+#endif
+
+#if defined(CONFIG_DDR_ECC)
+extern void ddr_enable_ecc(unsigned int dram_size);
+#endif
+
+
 typedef struct fixed_ddr_parm{
        int min_freq;
        int max_freq;