]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: uniphier: enable CONFIG_MMC_SDHCI_SDMA for ARMv8 SoCs
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 6 Jan 2018 13:59:25 +0000 (22:59 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 9 Jan 2018 12:58:18 +0000 (21:58 +0900)
commit3281532ab27f3a9da8821ada30bf3da8782759d4
tree64e57cfa338401b34a906edd415a7efffb251fae
parentbe893a5c09dca715df2dadafcae1365ed3826a39
ARM: uniphier: enable CONFIG_MMC_SDHCI_SDMA for ARMv8 SoCs

I did not enable SDMA when I added sdhci-cadence support because LD20
boards are equipped with a large amount memory beyond 32 bit address
range, but SDMA does not support the 64bit address.  U-Boot relocates
itself to the end of effectively available RAM.  This would make the
MMC enumeration fail because the buffer for EXT_CSD allocated in the
stack would go too high, then SDMA would fail to transfer data.

Recent SDHCI-compatible controllers support ADMA, but unfortunately
U-Boot does not support ADMA.

In the previous commit, I hided the DRAM area that exceeds the 32 bit
address range.  Now, I can enable CONFIG_MMC_SDHCI_SDMA.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
configs/uniphier_v8_defconfig