]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/fsl_dma.h
fsl_dma: Break out common memory initialization function
[u-boot] / include / asm-ppc / fsl_dma.h
index 978283a8c416632b399677c16c2050f2a9731c21..043669e4336e69ea9e49f981a369cc8e47681e43 100644 (file)
@@ -97,6 +97,9 @@ typedef struct fsl_dma {
 #ifdef CONFIG_FSL_DMA
 void dma_init(void);
 int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t n);
+#if (defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER))
+void dma_meminit(uint val, uint size);
+#endif
 #endif
 
 #endif /* _ASM_DMA_H_ */