diff options
| author | Peter Tyser <[email protected]> | 2009-06-30 17:15:48 -0500 |
|---|---|---|
| committer | Kumar Gala <[email protected]> | 2009-07-01 23:12:01 -0500 |
| commit | 0d595f76bc9c7c8dff5bd31dffed87a840a03c56 (patch) | |
| tree | fe9fd5c24c569893155ae2c52257c6402351af9b /include/asm-ppc | |
| parent | 79f4333ceb059049b3ee560167d6cbaec493695f (diff) | |
fsl_dma: Break out common memory initialization function
Signed-off-by: Peter Tyser <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include/asm-ppc')
| -rw-r--r-- | include/asm-ppc/fsl_dma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/fsl_dma.h b/include/asm-ppc/fsl_dma.h index 978283a8c41..043669e4336 100644 --- a/include/asm-ppc/fsl_dma.h +++ b/include/asm-ppc/fsl_dma.h @@ -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_ */ |
