From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 14 Apr 2017 04:15:11 -0600 Subject: [U-Boot] [PATCH v3 1/2] spl: rk3399: disable DDR security regions for SPL (for DMA in dw_mmc) In-Reply-To: References: <1490815229-40730-1-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 31 March 2017 at 22:23, Simon Glass wrote: > > On 29 March 2017 at 13:20, Philipp Tomsich > wrote: > > The RK3399 hangs during DMA of the Designware MMC controller, when > > performing DMA-based transactions in SPL due to the DDR security settings > > left behind by the BootROM (i.e. accesses to the first MB of DRAM are > > restricted... however, the DMA is likely to target this first MB, as it > > transfers from/to the stack). > > > > System security is not affected, as the final security configuration is > > performed by the ATF, which is executed after the SPL stage. > > > > With this fix in place, we can now drop 'fifo-mode' in the DTS for the > > RK3399-Q7 (Puma). > > > > Signed-off-by: Philipp Tomsich > > > > --- > > > > Changes in v3: > > - replaces the work-around (i.e. falling back to fifo-mode in SPL) with > > a permanent fix > > > > arch/arm/mach-rockchip/rk3399-board-spl.c | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > Acked-by: Simon Glass Added rockchip: tag and Applied to u-boot-rockchip, thanks!