diff options
author | Robby Cai <R63905@freescale.com> | 2012-12-10 17:13:45 +0800 |
---|---|---|
committer | Robby Cai <R63905@freescale.com> | 2012-12-13 14:59:00 +0800 |
commit | e51507299ee04ae933a5a1b46fbbff142ebef1e9 (patch) | |
tree | e5a9c5031e33e0dbc4f085b723ebfd8fb36f1dc6 /drivers/media/video/mxc/capture/fsl_csi.h | |
parent | c1a7c48666b662a7a67c7da8493d565dce8d6b27 (diff) |
ENGR00236722 mx6sl: csi: Ensure dma reflash operation done when dma is disabled
If do dma reflash operation when dma is enabled, the system will hang and we
can not connect to the core through jtag. The reason is the reflash signal
(DMA_REFLASH_RFF) will initialize the AHB bus signals and it indeed seems to
modify the AHB address on the clock as soon as the programmable register value
is changed, the bus may not respond.
This patch revised it according to the RM:
"Reflash DMA Controller for RxFIFO. This bit reflash the embedded DMA controller
for RxFIFO. It should be reflashed before the embedded DMA controller starts
to work."
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'drivers/media/video/mxc/capture/fsl_csi.h')
-rw-r--r-- | drivers/media/video/mxc/capture/fsl_csi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/mxc/capture/fsl_csi.h b/drivers/media/video/mxc/capture/fsl_csi.h index 8dfce286fe53..d8096cc3b16d 100644 --- a/drivers/media/video/mxc/capture/fsl_csi.h +++ b/drivers/media/video/mxc/capture/fsl_csi.h @@ -195,3 +195,5 @@ void csi_enable_int(int arg); void csi_disable_int(void); void csi_mclk_enable(void); void csi_mclk_disable(void); +void csi_dmareq_rff_enable(void); +void csi_dmareq_rff_disable(void); |