Merge branch 'for-2.6.39' of git://linux-nfs.org/~bfields/linux
[pandora-kernel.git] / arch / arm / mach-bcmring / include / mach / memory.h
1 /*****************************************************************************
2 * Copyright 2005 - 2008 Broadcom Corporation.  All rights reserved.
3 *
4 * Unless you and Broadcom execute a separate written software license
5 * agreement governing use of this software, this software is licensed to you
6 * under the terms of the GNU General Public License version 2, available at
7 * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
8 *
9 * Notwithstanding the above, under no circumstances may you combine this
10 * software in any way with any other Broadcom software provided under a
11 * license other than the GPL, without Broadcom's express prior written
12 * consent.
13 *****************************************************************************/
14
15 #ifndef __ASM_ARCH_MEMORY_H
16 #define __ASM_ARCH_MEMORY_H
17
18 #include <cfg_global.h>
19
20 /*
21  * Physical vs virtual RAM address space conversion.  These are
22  * private definitions which should NOT be used outside memory.h
23  * files.  Use virt_to_phys/phys_to_virt/__pa/__va instead.
24  */
25
26 #define PLAT_PHYS_OFFSET CFG_GLOBAL_RAM_BASE
27
28 /*
29  * Maximum DMA memory allowed is 14M
30  */
31 #define CONSISTENT_DMA_SIZE (SZ_16M - SZ_2M)
32
33 #endif