Path: blob/master/arch/arm/mach-msm/include/mach/cpu.h
17531 views
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.1*2* This program is free software; you can redistribute it and/or modify3* it under the terms of the GNU General Public License version 2 and4* only version 2 as published by the Free Software Foundation.5*6* This program is distributed in the hope that it will be useful,7* but WITHOUT ANY WARRANTY; without even the implied warranty of8* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9* GNU General Public License for more details.10*11* You should have received a copy of the GNU General Public License12* along with this program; if not, write to the Free Software13* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA14* 02110-1301, USA.15*/1617#ifndef __ARCH_ARM_MACH_MSM_CPU_H__18#define __ARCH_ARM_MACH_MSM_CPU_H__1920/* TODO: For now, only one CPU can be compiled at a time. */2122#define cpu_is_msm7x01() 023#define cpu_is_msm7x30() 024#define cpu_is_qsd8x50() 025#define cpu_is_msm8x60() 026#define cpu_is_msm8960() 02728#ifdef CONFIG_ARCH_MSM7X00A29# undef cpu_is_msm7x0130# define cpu_is_msm7x01() 131#endif3233#ifdef CONFIG_ARCH_MSM7X3034# undef cpu_is_msm7x3035# define cpu_is_msm7x30() 136#endif3738#ifdef CONFIG_ARCH_QSD8X5039# undef cpu_is_qsd8x5040# define cpu_is_qsd8x50() 141#endif4243#ifdef CONFIG_ARCH_MSM8X6044# undef cpu_is_msm8x6045# define cpu_is_msm8x60() 146#endif4748#ifdef CONFIG_ARCH_MSM896049# undef cpu_is_msm896050# define cpu_is_msm8960() 151#endif5253#endif545556