diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-30 08:26:47 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-30 08:26:47 -0500 |
commit | 3719ec5077d9a8bf293c494ff7eae766d6a70bbe (patch) | |
tree | 9e3bfaa537e51a6fb74e489aba1f8366d17e466b /arch/arm/mach-h720x | |
parent | 0560cf5aa51216b06874333a2fa26ca034d97bdb (diff) |
[ARM] Ensure that both MAX_DMA_ADDRESS and ISA_DMA_THRESHOLD are defined
Both of these symbols should be defined by a platform, or neither
should be defined. Ensure that all platforms conform.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-h720x')
-rw-r--r-- | arch/arm/mach-h720x/include/mach/memory.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-h720x/include/mach/memory.h b/arch/arm/mach-h720x/include/mach/memory.h index c9bdb21a4445..ef4c1e26f18e 100644 --- a/arch/arm/mach-h720x/include/mach/memory.h +++ b/arch/arm/mach-h720x/include/mach/memory.h | |||
@@ -12,10 +12,8 @@ | |||
12 | * This is the maximum DMA address that can be DMAd to. | 12 | * This is the maximum DMA address that can be DMAd to. |
13 | * There should not be more than (0xd0000000 - 0xc0000000) | 13 | * There should not be more than (0xd0000000 - 0xc0000000) |
14 | * bytes of RAM. | 14 | * bytes of RAM. |
15 | * | ||
16 | * If you set this, you must also set ISA_DMA_THRESHOLD and setup a DMA | ||
17 | * zone if this does not cover all possible RAM. | ||
18 | */ | 15 | */ |
16 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_256M - 1) | ||
19 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M) | 17 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M) |
20 | 18 | ||
21 | #endif | 19 | #endif |