summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Huang <huangtao@rock-chips.com>2017-08-01 11:55:55 +0200
committerHeiko Stuebner <heiko@sntech.de>2017-08-06 13:06:05 +0200
commit58ed5e5733b293f03a302612d395ac747021b946 (patch)
treed49391647675cae4e70bc1b6aea3a48a2e21e459
parentARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals (diff)
downloadlinux-58ed5e5733b293f03a302612d395ac747021b946.tar.xz
linux-58ed5e5733b293f03a302612d395ac747021b946.zip
ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE
Rockchip RK3288 has some 64-bit capable DMA and therefore needs dma_addr_t to be a 64-bit size. One user is the Mali GPU. Signed-off-by: Tao Huang <huangtao@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm/mach-rockchip/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index fafd3d7f9f8c..a4065966881a 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -3,6 +3,7 @@ config ARCH_ROCKCHIP
depends on ARCH_MULTI_V7
select PINCTRL
select PINCTRL_ROCKCHIP
+ select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
select ARCH_HAS_RESET_CONTROLLER
select ARM_AMBA
select ARM_GIC