summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/include/mach/id.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2010-08-11 03:27:12 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2010-08-11 03:27:12 -0400
commitf9baa031dd6bedc6d4b39e254e3b76cd2c37769b (patch)
tree216e51a0dc73b76f8e7be6648ecf4ee7dbbceec1 /arch/arm/mach-omap2/include/mach/id.h
parent21ee0ab5fa80eb7307079e1a126f642fe7a937a6 (diff)
parentd21872b3683ff37f73c68993749a6e6aeeaed265 (diff)
Merge commit 'd21872b'linaro_merge_100811
Diffstat (limited to 'arch/arm/mach-omap2/include/mach/id.h')
-rw-r--r--arch/arm/mach-omap2/include/mach/id.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/include/mach/id.h b/arch/arm/mach-omap2/include/mach/id.h
new file mode 100644
index 00000000000..02ed3aa56f1
--- /dev/null
+++ b/arch/arm/mach-omap2/include/mach/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