UniCore32 bugfix: add missed CONFIG_ZONE_DMA
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 12 Apr 2012 01:18:46 +0000 (09:18 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 9 Nov 2012 09:30:09 +0000 (17:30 +0800)
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>
arch/unicore32/Kconfig

index e5c5473e69cea62bc28dcc281e4fb9d1cfcca704..5b95ba4e0c704cf46674a5abc145955abe4d32e2 100644 (file)
@@ -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