2fb3ec5c95
The values of ISA_DMA_THRESHOLD and MAX_DMA_ADDRESS are related; one is the physical/bus address, the other is the virtual address. Both need to be kept in step, so rather than having platforms define both, allow them to define a single macro which sets both of these macros appropraitely. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 lines
370 B
C
18 lines
370 B
C
/*
|
|
* arch/arm/mach-h720x/include/mach/memory.h
|
|
*
|
|
* Copyright (c) 2000 Jungjun Kim
|
|
*
|
|
*/
|
|
#ifndef __ASM_ARCH_MEMORY_H
|
|
#define __ASM_ARCH_MEMORY_H
|
|
|
|
#define PLAT_PHYS_OFFSET UL(0x40000000)
|
|
/*
|
|
* This is the maximum DMA address that can be DMAd to.
|
|
* There should not be more than (0xd0000000 - 0xc0000000)
|
|
* bytes of RAM.
|
|
*/
|
|
#define ARM_DMA_ZONE_SIZE SZ_256M
|
|
|
|
#endif
|