-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 65992 b: refs/heads/master c: f16295e h: refs/heads/master v: v3
- Loading branch information
Robin Getz
authored and
Bryan Wu
committed
Aug 3, 2007
1 parent
2f99e2e
commit 8a42b27
Showing
14 changed files
with
243 additions
and
421 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: b99ab54d4f11141b2ef3e50c3543b7243d3f49fb | ||
refs/heads/master: f16295e7e7f2a2a15876f570f10d6dc8f1f36ab8 |
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
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
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
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,55 @@ | ||
/* | ||
* File: arch/blackfin/mach-common/arch_checks.c | ||
* Based on: | ||
* Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
* | ||
* Created: 25Jul07 | ||
* Description: Do some checking to make sure things are OK | ||
* | ||
* Modified: | ||
* Copyright 2004-2007 Analog Devices Inc. | ||
* | ||
* Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* 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. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, see the file COPYING, or write | ||
* to the Free Software Foundation, Inc., | ||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
#include <asm/mach/anomaly.h> | ||
#include <asm/mach-common/clocks.h> | ||
|
||
#ifdef CONFIG_BFIN_KERNEL_CLOCK | ||
|
||
# if (CONFIG_VCO_HZ > CONFIG_MAX_VCO_HZ) | ||
# error "VCO selected is more than maximum value. Please change the VCO multipler" | ||
# endif | ||
|
||
# if (CONFIG_SCLK_HZ > CONFIG_MAX_SCLK_HZ) | ||
# error "Sclk value selected is more than maximum. Please select a proper value for SCLK multiplier" | ||
# endif | ||
|
||
# if (CONFIG_SCLK_HZ < CONFIG_MIN_SCLK_HZ) | ||
# error "Sclk value selected is less than minimum. Please select a proper value for SCLK multiplier" | ||
# endif | ||
|
||
# if (ANOMALY_05000273) && (CONFIG_SCLK_HZ * 2 > CONFIG_CCLK_HZ) | ||
# error "ANOMALY 05000273, please make sure CCLK is at least 2x SCLK" | ||
# endif | ||
|
||
# if (CONFIG_SCLK_HZ > CONFIG_CCLK_HZ) && (CONFIG_SCLK_HZ != CONFIG_CLKIN_HZ) && (CONFIG_CCLK_HZ != CONFIG_CLKIN_HZ) | ||
# error "Please select sclk less than cclk" | ||
# endif | ||
|
||
#endif /* CONFIG_BFIN_KERNEL_CLOCK */ |
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
Oops, something went wrong.