]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: px30: enable spl-fifo-mode for both emmc and sdmmc on evb
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tue, 19 Nov 2019 11:04:02 +0000 (12:04 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 23 Nov 2019 15:41:44 +0000 (23:41 +0800)
commit5bf0940c1a3b61ace84671f7fe5a2ca4ac0b8dc6
treec2110ae5869ee47a86d19f73bade247db5d94b13
parentb31e4e791fbdd687958cb441401564ad13c7d83f
rockchip: px30: enable spl-fifo-mode for both emmc and sdmmc on evb

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 <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/px30-evb-u-boot.dtsi