mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
fsl_dma: Move dma function prototypes to common header file
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
7892f619d4
commit
191c711859
2 changed files with 5 additions and 4 deletions
|
@ -66,10 +66,6 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
|
|||
}
|
||||
|
||||
#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
|
||||
extern void dma_init(void);
|
||||
extern uint dma_check(void);
|
||||
extern int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t n);
|
||||
|
||||
/*
|
||||
* Initialize all of memory for ECC, then enable errors.
|
||||
*/
|
||||
|
|
|
@ -94,4 +94,9 @@ typedef struct fsl_dma {
|
|||
char res4[56];
|
||||
} fsl_dma_t;
|
||||
|
||||
#ifdef CONFIG_FSL_DMA
|
||||
void dma_init(void);
|
||||
int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t n);
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_DMA_H_ */
|
||||
|
|
Loading…
Reference in a new issue