arm: make FORCE_MAX_ZONEORDER configurable for TI AM33XX
FORCE_MAX_ZONEORDER of 12 is needed to allocation more than 4MB
of consistent DMA memory (da8xx frame buffer driver).
Signed-off-by: Dejan Gacnik <dejan.gacnik@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6d4d438..c38ccce 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1743,8 +1743,9 @@
source "mm/Kconfig"
config FORCE_MAX_ZONEORDER
- int "Maximum zone order" if ARCH_SHMOBILE
- range 11 64 if ARCH_SHMOBILE
+ int "Maximum zone order"
+ depends on ARCH_SHMOBILE || SOC_AM33XX
+ range 11 64 if ARCH_SHMOBILE || SOC_AM33XX
default "9" if SA1111
default "11"
help