blob: ef4c1e26f18efbdafe15395f4c0573ec3c4e15b6 [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
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 Kinga09e64f2008-08-05 16:14:15 +010010#define PHYS_OFFSET UL(0x40000000)
Russell Kingb9c78022008-11-29 10:50:22 +000011/*
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 Kingb9c78022008-11-29 10:50:22 +000015 */
Russell King3719ec52008-11-30 13:26:47 +000016#define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_256M - 1)
Russell Kingc72e0052008-11-29 10:56:33 +000017#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M)
Russell Kinga09e64f2008-08-05 16:14:15 +010018
Russell Kinga09e64f2008-08-05 16:14:15 +010019#endif