]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
ARM: tegra: Restrict usable RAM to 32-bit on 64-bit SoCs
authorThierry Reding <treding@nvidia.com>
Mon, 27 Jul 2015 17:45:24 +0000 (11:45 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:53 +0000 (13:50 +0200)
commitd3b7fd74f7b42acaa85fda67974445b62b4840ca
tree3b033f549846741a53083ba7faf35a3dffb7531f
parent20be0b83c01e642e87e17b007776cf7a273265ea
ARM: tegra: Restrict usable RAM to 32-bit on 64-bit SoCs

Most peripherals on Tegra can do DMA only to the lower 32-bit
address space, even on 64-bit SoCs. This limitation is
typically overcome by the use of an IOMMU. Since the IOMMU is
not entirely trivial to set up and serves no other purpose
(I/O protection, ...) in U-Boot, restrict 64-bit Tegra SoCs to
the lower 32-bit address space for RAM. This ensures that the
physical addresses of buffers that are programmed into the
various DMA engines are valid and don't alias to lower addresses.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board2.c