Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-h720x/include/mach/memory.h |
| 3 | * |
| 4 | * Copyright (c) 2000 Jungjun Kim |
| 5 | * |
| 6 | */ |
| 7 | #ifndef __ASM_ARCH_MEMORY_H |
| 8 | #define __ASM_ARCH_MEMORY_H |
| 9 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 10 | #define PHYS_OFFSET UL(0x40000000) |
Russell King | b9c7802 | 2008-11-29 10:50:22 +0000 | [diff] [blame] | 11 | /* |
| 12 | * This is the maximum DMA address that can be DMAd to. |
| 13 | * There should not be more than (0xd0000000 - 0xc0000000) |
| 14 | * bytes of RAM. |
Russell King | b9c7802 | 2008-11-29 10:50:22 +0000 | [diff] [blame] | 15 | */ |
Russell King | 3719ec5 | 2008-11-30 13:26:47 +0000 | [diff] [blame] | 16 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_256M - 1) |
Russell King | c72e005 | 2008-11-29 10:56:33 +0000 | [diff] [blame] | 17 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M) |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 18 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 19 | #endif |