ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals
authorHuang, Tao <huangtao@rock-chips.com>
Thu, 1 Jun 2017 10:42:13 +0000 (18:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 1 Jun 2017 10:51:41 +0000 (18:51 +0800)
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.

Change-Id: I3fce3e01ba31270f066f49bc14fc2078c70d83ea
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm/mach-rockchip/Kconfig

index ae4eb7cc4bcc5a1c5dffa8a26f98e5c58b6cf3f8..fadc2dc0c6164e0baf32c57af9654f567956799d 100644 (file)
@@ -15,6 +15,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.