Skip to content

Commit

Permalink
UniCore32 bugfix: add missed CONFIG_ZONE_DMA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guan Xuetao committed Nov 9, 2012
1 parent f3f09d5 commit 446d141
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/unicore32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 446d141

Please sign in to comment.