From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Wildt Date: Thu, 28 Nov 2019 00:38:45 +0100 Subject: [U-Boot] [PATCH v2 2/2] rockchip: px30: enable spl-fifo-mode for both emmc and sdmmc on evb In-Reply-To: <20191119110402.17876-2-heiko@sntech.de> References: <20191119110402.17876-1-heiko@sntech.de> <20191119110402.17876-2-heiko@sntech.de> Message-ID: <20191127233845.GA19402@nox.fritz.box> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 19, 2019 at 12:04:02PM +0100, Heiko Stuebner wrote: > From: Heiko Stuebner > > As part of loading trustedfirmware, the SPL is required to place portions > of code into the socs sram but the mmc controllers can only do dma > transfers into the regular memory, not sram. > > The results of this are not directly visible in u-boot itself, but > manifest as security-relate cpu aborts during boot of for example Linux. > > There were a number of attempts to solve this elegantly but so far > discussion is still ongoing, so to make the board at least boot correctly > put both mmc controllers into fifo-mode, which also circumvents the > issue for now. > > Signed-off-by: Heiko Stuebner Hi, is this also needed on RK3399 based machines? I have a NanoPC-T4, where the eMMC is on the Arasan controller and the SD card on the dwmmc. So if I boot from SD card I need this as well? Patrick