-
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.
omap: Add new interface omap_get_die_id
Allow DIE id to be get and used by others. Signed-off-by: Kan-Ru Chen <kanru@0xlab.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
- Loading branch information
Kan-Ru Chen
authored and
Tony Lindgren
committed
Aug 2, 2010
1 parent
ad0c63f
commit 2e130fc
Showing
2 changed files
with
32 additions
and
0 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
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,22 @@ | ||
/* | ||
* OMAP2 CPU identification code | ||
* | ||
* Copyright (C) 2010 Kan-Ru Chen <kanru@0xlab.org> | ||
* | ||
* 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 OMAP2_ARCH_ID_H | ||
#define OMAP2_ARCH_ID_H | ||
|
||
struct omap_die_id { | ||
u32 id_0; | ||
u32 id_1; | ||
u32 id_2; | ||
u32 id_3; | ||
}; | ||
|
||
void omap_get_die_id(struct omap_die_id *odi); | ||
|
||
#endif |