diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-06-30 17:15:48 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-07-01 23:12:01 -0500 |
commit | 0d595f76bc9c7c8dff5bd31dffed87a840a03c56 (patch) | |
tree | fe9fd5c24c569893155ae2c52257c6402351af9b /include/asm-ppc/fsl_dma.h | |
parent | 79f4333ceb059049b3ee560167d6cbaec493695f (diff) | |
download | u-boot-imx-0d595f76bc9c7c8dff5bd31dffed87a840a03c56.zip u-boot-imx-0d595f76bc9c7c8dff5bd31dffed87a840a03c56.tar.gz u-boot-imx-0d595f76bc9c7c8dff5bd31dffed87a840a03c56.tar.bz2 |
fsl_dma: Break out common memory initialization function
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/fsl_dma.h')
-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 978283a..043669e 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_ */ |