-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acpuclock: use a common definition for table size
Signed-off-by: Paul Reioux <[email protected]>
- Loading branch information
Showing
3 changed files
with
38 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* arch/arm/mach-msm/acpuclock-common.h | ||
* | ||
* MSM architecture cpu clock common definitions | ||
* | ||
* Copyright (C) 2014 Paul Reioux (faux123) | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
*/ | ||
#ifndef __ARCH_ARM_MACH_MSM_ACPUCLOCK_COMMON_H | ||
#define __ARCH_ARM_MACH_MSM_ACPUCLOCK_COMMON_H | ||
|
||
#ifdef CONFIG_OC_ULTIMATE | ||
#ifdef CONFIG_LOW_CPUCLOCKS | ||
#define FREQ_TABLE_SIZE 41 | ||
#else | ||
#define FREQ_TABLE_SIZE 37 | ||
#endif | ||
#else | ||
#ifdef CONFIG_LOW_CPUCLOCKS | ||
#define FREQ_TABLE_SIZE 39 | ||
#else | ||
#define FREQ_TABLE_SIZE 35 | ||
#endif | ||
#endif | ||
|
||
#endif /* __ARCH_ARM_MACH_MSM_ACPUCLOCK_COMMON_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters