Path: blob/master/arch/arm/mach-msm/include/mach/memory.h
17495 views
/* arch/arm/mach-msm/include/mach/memory.h1*2* Copyright (C) 2007 Google, Inc.3*4* This software is licensed under the terms of the GNU General Public5* License version 2, as published by the Free Software Foundation, and6* may be copied, distributed, and modified under those terms.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13*/1415#ifndef __ASM_ARCH_MEMORY_H16#define __ASM_ARCH_MEMORY_H1718/* physical offset of RAM */19#if defined(CONFIG_ARCH_QSD8X50) && defined(CONFIG_MSM_SOC_REV_A)20#define PLAT_PHYS_OFFSET UL(0x00000000)21#elif defined(CONFIG_ARCH_QSD8X50)22#define PLAT_PHYS_OFFSET UL(0x20000000)23#elif defined(CONFIG_ARCH_MSM7X30)24#define PLAT_PHYS_OFFSET UL(0x00200000)25#elif defined(CONFIG_ARCH_MSM8X60)26#define PLAT_PHYS_OFFSET UL(0x40200000)27#elif defined(CONFIG_ARCH_MSM8960)28#define PLAT_PHYS_OFFSET UL(0x40200000)29#else30#define PLAT_PHYS_OFFSET UL(0x10000000)31#endif3233#endif34353637