Path: blob/master/arch/arm/mach-bcmring/include/mach/memory.h
10820 views
/*****************************************************************************1* Copyright 2005 - 2008 Broadcom Corporation. All rights reserved.2*3* Unless you and Broadcom execute a separate written software license4* agreement governing use of this software, this software is licensed to you5* under the terms of the GNU General Public License version 2, available at6* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").7*8* Notwithstanding the above, under no circumstances may you combine this9* software in any way with any other Broadcom software provided under a10* license other than the GPL, without Broadcom's express prior written11* consent.12*****************************************************************************/1314#ifndef __ASM_ARCH_MEMORY_H15#define __ASM_ARCH_MEMORY_H1617#include <cfg_global.h>1819/*20* Physical vs virtual RAM address space conversion. These are21* private definitions which should NOT be used outside memory.h22* files. Use virt_to_phys/phys_to_virt/__pa/__va instead.23*/2425#define PLAT_PHYS_OFFSET CFG_GLOBAL_RAM_BASE2627/*28* Maximum DMA memory allowed is 14M29*/30#define CONSISTENT_DMA_SIZE (SZ_16M - SZ_2M)3132#endif333435