|
@@ -243,6 +243,9 @@ static const char *const omap5_boards_compat[] __initconst = {
|
|
};
|
|
};
|
|
|
|
|
|
DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)")
|
|
DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)")
|
|
|
|
+#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE)
|
|
|
|
+ .dma_zone_size = SZ_2G,
|
|
|
|
+#endif
|
|
.reserve = omap_reserve,
|
|
.reserve = omap_reserve,
|
|
.smp = smp_ops(omap4_smp_ops),
|
|
.smp = smp_ops(omap4_smp_ops),
|
|
.map_io = omap5_map_io,
|
|
.map_io = omap5_map_io,
|
|
@@ -288,6 +291,9 @@ static const char *const dra74x_boards_compat[] __initconst = {
|
|
};
|
|
};
|
|
|
|
|
|
DT_MACHINE_START(DRA74X_DT, "Generic DRA74X (Flattened Device Tree)")
|
|
DT_MACHINE_START(DRA74X_DT, "Generic DRA74X (Flattened Device Tree)")
|
|
|
|
+#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE)
|
|
|
|
+ .dma_zone_size = SZ_2G,
|
|
|
|
+#endif
|
|
.reserve = omap_reserve,
|
|
.reserve = omap_reserve,
|
|
.smp = smp_ops(omap4_smp_ops),
|
|
.smp = smp_ops(omap4_smp_ops),
|
|
.map_io = dra7xx_map_io,
|
|
.map_io = dra7xx_map_io,
|
|
@@ -308,6 +314,9 @@ static const char *const dra72x_boards_compat[] __initconst = {
|
|
};
|
|
};
|
|
|
|
|
|
DT_MACHINE_START(DRA72X_DT, "Generic DRA72X (Flattened Device Tree)")
|
|
DT_MACHINE_START(DRA72X_DT, "Generic DRA72X (Flattened Device Tree)")
|
|
|
|
+#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE)
|
|
|
|
+ .dma_zone_size = SZ_2G,
|
|
|
|
+#endif
|
|
.reserve = omap_reserve,
|
|
.reserve = omap_reserve,
|
|
.map_io = dra7xx_map_io,
|
|
.map_io = dra7xx_map_io,
|
|
.init_early = dra7xx_init_early,
|
|
.init_early = dra7xx_init_early,
|