Home
last modified time | relevance | path

Searched hist:"05 c57e12d17b0a601b9a136ff03dac5b538c0845" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/
H A Dcru_rk3368.h05c57e12d17b0a601b9a136ff03dac5b538c0845 Tue Jul 04 12:50:11 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> rockchip: clk: rk3368: define DMA1_SRST_REQ and DMA2_SRST_REQ

On he RK3368, we need to temporarily disable security on the DMA
engines during TPL and SPL to allow the MMC host to DMA into DRAM. To
do so, we need to reset the two DMA engines, which in turn requires
the DMA1_SRST_REQ and DMA2_SRST_REQ constants to refer to the
appropriate bits in the CRU.

As the ATF correctly initialises security (and only leaves EL3 after
doing so), this can not pose a security issue.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>