summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Huang <huangtao@rock-chips.com>2017-07-28 14:40:02 +0800
committerHeiko Stuebner <heiko@sntech.de>2017-08-01 00:57:59 +0200
commitbf3c4b517c2e2217e6cd53bc7a44e321bb799d75 (patch)
tree36168e714a5dd7c63634a43c0d82525db5872af5
parentda45adf97f57a561fc290e7cdd3a3dcb184cc88e (diff)
downloadlinux-bf3c4b517c2e2217e6cd53bc7a44e321bb799d75.tar.bz2
ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals
Most IP cores on ARM Rockchip platforms can only address 32 bits of physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE is activated. 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 9ad84cd01ba0..fafd3d7f9f8c 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -16,6 +16,7 @@ config ARCH_ROCKCHIP
select ROCKCHIP_TIMER
select ARM_GLOBAL_TIMER
select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
+ select ZONE_DMA if ARM_LPAE
help
Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs
containing the RK2928, RK30xx and RK31xx series.