]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/asm-ppc/processor.h
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
[people/ms/u-boot.git] / include / asm-ppc / processor.h
index cfd84402379f68b5135b0e2603537cd9a72665fb..139e6869df767f1ae0ca39508a76a74914f28624 100644 (file)
@@ -962,6 +962,17 @@ n:
 #define SR15   15
 
 #ifndef __ASSEMBLY__
+
+struct cpu_type {
+       char name[15];
+       u32 soc_ver;
+};
+
+struct cpu_type *identify_cpu(uint ver);
+
+#define CPU_TYPE_ENTRY(n, v) \
+       { .name = #n, .soc_ver = SVR_##v, }
+
 #ifndef CONFIG_MACH_SPECIFIC
 extern int _machine;
 extern int have_of;