From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:18 +0200 Subject: [U-Boot] [U-Boot, v4, 42/66] rockchip: clk: rk3368: define DMA1_SRST_REQ and DMA2_SRST_REQ In-Reply-To: <1501706105-7490-43-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-43-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/include/asm/arch-rockchip/cru_rk3368.h | 4 ++++ > 1 file changed, 4 insertions(+) > Applied to u-boot-rockchip, thanks!