-
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: 54050 b: refs/heads/master c: 53b2e01 h: refs/heads/master v: v3
- Loading branch information
Vladimir Barinov
authored and
Russell King
committed
Apr 21, 2007
1 parent
23a38e3
commit cdc44ad
Showing
4 changed files
with
34 additions
and
49 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: 45fba0846f5a5a48ed3c394aa4f8ca93699e7655 | ||
refs/heads/master: 53b2e01be55f3c140e2704cf8d5f99ddba0ff823 |
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,31 @@ | ||
/* | ||
* include/asm-arm/arch-ixp4xx/cpu.h | ||
* | ||
* IXP4XX cpu type detection | ||
* | ||
* Copyright (C) 2007 MontaVista Software, Inc. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_CPU_H__ | ||
#define __ASM_ARCH_CPU_H__ | ||
|
||
extern unsigned int processor_id; | ||
/* Processor id value in CP15 Register 0 */ | ||
#define IXP425_PROCESSOR_ID_VALUE 0x690541c0 | ||
#define IXP435_PROCESSOR_ID_VALUE 0x69054040 | ||
#define IXP465_PROCESSOR_ID_VALUE 0x69054200 | ||
#define IXP4XX_PROCESSOR_ID_MASK 0xfffffff0 | ||
|
||
#define cpu_is_ixp42x() ((processor_id & IXP4XX_PROCESSOR_ID_MASK) == \ | ||
IXP425_PROCESSOR_ID_VALUE) | ||
#define cpu_is_ixp43x() ((processor_id & IXP4XX_PROCESSOR_ID_MASK) == \ | ||
IXP435_PROCESSOR_ID_VALUE) | ||
#define cpu_is_ixp46x() ((processor_id & IXP4XX_PROCESSOR_ID_MASK) == \ | ||
IXP465_PROCESSOR_ID_VALUE) | ||
|
||
#endif /* _ASM_ARCH_CPU_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