]> git.sur5r.net Git - u-boot/commit
rockchip: spl: rk3399: disable DDR security regions for SPL
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 29 Mar 2017 19:20:28 +0000 (21:20 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 16:13:17 +0000 (10:13 -0600)
commit504b9f1a5fa1c3c7efc8349907703986dcd4ed8a
treef4da158d0798a2f293962fa20b9fc8be6e851e88
parentfbeb33752999e7317113199ef89873d6b6916814
rockchip: spl: rk3399: disable DDR security regions for SPL

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 <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3399-board-spl.c