ARM: keystone: enable DMA zone for LPAE
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-keystone / keystone.c
index b661c5c2870a88d09a76b51d7166650a693250ac..2fe4dd04996cbcc9de5c8cac709fa46185d9b355 100644 (file)
@@ -68,6 +68,9 @@ void keystone_restart(enum reboot_mode mode, const char *cmd)
 }
 
 DT_MACHINE_START(KEYSTONE, "Keystone")
+#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE)
+       .dma_zone_size  = SZ_2G,
+#endif
        .smp            = smp_ops(keystone_smp_ops),
        .init_machine   = keystone_init,
        .dt_compat      = keystone_match,