Title: [3888] trunk/include/asm-blackfin/mach-bf548/bf548.h: touchup a bit and add BF547
Revision
3888
Author
vapier
Date
2007-11-18 01:16:04 -0600 (Sun, 18 Nov 2007)

Log Message

touchup a bit and add BF547

Diffstat

 bf548.h |   34 ++++++++++++++++------------------
 1 files changed, 16 insertions(+), 18 deletions(-)

Modified Paths


Diff

Modified: trunk/include/asm-blackfin/mach-bf548/bf548.h (3887 => 3888)


--- trunk/include/asm-blackfin/mach-bf548/bf548.h	2007-11-18 07:13:56 UTC (rev 3887)
+++ trunk/include/asm-blackfin/mach-bf548/bf548.h	2007-11-18 07:16:04 UTC (rev 3888)
@@ -106,24 +106,22 @@
 
 #define AMGCTLVAL	(V_AMBEN | V_AMCKEN)
 
-#ifdef CONFIG_BF542
-#define CPU "BF542"
-#define CPUID 0x027c8000
+#if defined(CONFIG_BF542)
+# define CPU   "BF542"
+# define CPUID 0x027c8000
+#elif defined(CONFIG_BF544)
+# define CPU "BF544"
+# define CPUID 0x027c8000
+#elif defined(CONFIG_BF547)
+# define CPU "BF547"
+#elif defined(CONFIG_BF548)
+# define CPU "BF548"
+# define CPUID 0x027c6000
+#elif defined(CONFIG_BF549)
+# define CPU "BF549"
+#else
+# define CPU "UNKNOWN"
+# define CPUID 0x0
 #endif
-#ifdef CONFIG_BF544
-#define CPU "BF544"
-#define CPUID 0x027c8000
-#endif
-#ifdef CONFIG_BF548
-#define CPU "BF548"
-#define CPUID 0x027c6000
-#endif
-#ifdef CONFIG_BF549
-#define CPU "BF549"
-#endif
-#ifndef CPU
-#define	CPU "UNKNOWN"
-#define CPUID 0x0
-#endif
 
 #endif	/* __MACH_BF48_H__  */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to