Update of /cvsroot/blob/blob/include/blob
In directory usw-pr-cvs1:/tmp/cvs-serv31224/include/blob
Modified Files:
arch.h linux.h
Log Message:
- TRIZEPS board support. Patch by Wolfgang Mueller.
Index: arch.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/arch.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- arch.h 3 Apr 2002 05:05:47 -0000 1.7
+++ arch.h 23 Apr 2002 12:36:19 -0000 1.8
@@ -36,9 +36,13 @@
/*
* CPU frequency table.
+ *
* See Section 8.2 (Core Clock Configuration Register) SA-1110 Developers
* Manual for more information.
*
+ * f_cpu = 16*f_osc + n*4*f_osc
+ * = 4*(n+4)*f_osc
+ *
* We have 3.6864-MHz oscillator.
*
* CCF[4:0] 3.6864-MHz Crystal Oscillator 3.5795-MHz Crystal Oscillator
@@ -110,6 +114,8 @@
# include <blob/arch/shannon.h>
#elif defined PT_SYSTEM3
# include <blob/arch/system3.h>
+#elif defined TRIZEPS
+# include <blob/arch/trizeps.h>
#else
# error "Please add an architecture specific include file"
#endif
Index: linux.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/linux.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- linux.h 4 Feb 2002 18:09:57 -0000 1.7
+++ linux.h 23 Apr 2002 12:36:19 -0000 1.8
@@ -60,6 +60,8 @@
# define ARCH_NUMBER (97)
#elif defined PT_SYSTEM3
# define ARCH_NUMBER (112)
+#elif defined TRIZEPS
+# define ARCH_NUMBER (74)
#else
#warning "FIXME: Calling the kernel with a generic SA1100 architecture code. YMMV!"
#define ARCH_NUMBER (18)
|