Update of /cvsroot/blob/blob/src/blob
In directory usw-pr-cvs1:/tmp/cvs-serv15454/src/blob
Modified Files:
assabet.c
Log Message:
It helps a *lot* if you enable the RS232 tranceiver on the Assabet...
Index: assabet.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/assabet.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- assabet.c 2001/10/21 21:38:34 1.3
+++ assabet.c 2001/10/25 09:28:04 1.4
@@ -55,3 +55,19 @@
}
__initlist(init_assabet_flash_driver, INIT_LEVEL_OTHER_STUFF);
+
+
+
+
+#define RS232_ENABLE 0x00001000
+#define GREEN_LED_ENABLE 0x00004000
+
+static void assabet_init_bcr(void)
+{
+ u32 *bcr = (u32 *)0x12000000;
+
+ *bcr = RS232_ENABLE | GREEN_LED_ENABLE;
+}
+
+
+__initlist(assabet_init_bcr, INIT_LEVEL_INITIAL_HARDWARE);
|