summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-09-19 19:33:40 +0200
committerTony Lindgren <tony@atomide.com>2012-09-21 00:02:22 +0200
commit4952af4357cab6221750e5184017170b3becf42d (patch)
tree13b2016466e450b1f0cefb97b46bffe61fdee052 /arch/arm/mach-omap2/id.h
parentARM: OMAP1: Move board-ams-delta.h from plat to mach (diff)
downloadlinux-4952af4357cab6221750e5184017170b3becf42d.tar.xz
linux-4952af4357cab6221750e5184017170b3becf42d.zip
ARM: OMAP2+: Make id.h local
This can be local to mach-omap2. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.h')
-rw-r--r--arch/arm/mach-omap2/id.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.h b/arch/arm/mach-omap2/id.h
new file mode 100644
index 000000000000..02ed3aa56f1e
--- /dev/null
+++ b/arch/arm/mach-omap2/id.h
@@ -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