summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorGuan Xuetao <gxt@mprc.pku.edu.cn>2012-04-12 09:18:46 +0800
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2012-11-09 17:30:09 +0800
commit446d141e1c84d34c70592b53443b06533703c324 (patch)
tree05bd94e0b5b6f3b725a26e0e7e8ccf5165f2738e /arch/unicore32
parentf3f09d5a4462929609342460d756fab2e8151421 (diff)
downloadtalos-op-linux-446d141e1c84d34c70592b53443b06533703c324.tar.gz
talos-op-linux-446d141e1c84d34c70592b53443b06533703c324.zip
UniCore32 bugfix: add missed CONFIG_ZONE_DMA
Because our PCI-bus handler confines dma zone into 128M, we should add CONFIG_ZONE_DMA for all boards. Otherwise, all memory bigger than 128M will be pushed into ZONE_MOVABLE. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Liu Guoli <liuguoli@mprc.pku.edu.cn> Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'arch/unicore32')
-rw-r--r--arch/unicore32/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index e5c5473e69ce..5b95ba4e0c70 100644
--- a/arch/unicore32/Kconfig
+++ b/arch/unicore32/Kconfig
@@ -64,6 +64,9 @@ config GENERIC_CALIBRATE_DELAY
config ARCH_MAY_HAVE_PC_FDC
bool
+config ZONE_DMA
+ def_bool y
+
config NEED_DMA_MAP_STATE
def_bool y
OpenPOWER on IntegriCloud