ARM: Add init_consistent_dma_size()
authorJon Medhurst <tixy@yxit.co.uk>
Tue, 2 Aug 2011 16:28:27 +0000 (17:28 +0100)
committerJon Medhurst <tixy@yxit.co.uk>
Mon, 22 Aug 2011 12:00:10 +0000 (12:00 +0000)
commit99d1717dd7fecf2b10195b0d864323b952b4eba0
tree1c60988a0eb4837240203c2de7b48e78e7b3975a
parent93ee7a9340d64f20295aacc3fb6a22b759323280
ARM: Add init_consistent_dma_size()

This function can be called during boot to increase the size of the consistent
DMA region above it's default value of 2MB. It must be called before the memory
allocator is initialised, i.e. before any core_initcall.

Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/include/asm/dma-mapping.h
arch/arm/include/asm/memory.h
arch/arm/mm/dma-mapping.c
arch/arm/mm/init.c