Update of /cvsroot/blob/blob/src/blob
In directory usw-pr-cvs1:/tmp/cvs-serv26021
Modified Files:
badge4.c
Log Message:
more verbose startup
Index: badge4.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/badge4.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- badge4.c 23 Jul 2002 20:06:44 -0000 1.9
+++ badge4.c 25 Jul 2002 17:27:51 -0000 1.10
@@ -89,7 +89,7 @@
{
printf("\n\n\n" BOARD_NAME "\n"
"Blob port by Christopher Hoover <ch...@hp...>.\n"
- "($Id$, " __DATE__ ")\n"
+ " (revision: $Revision$, built: " __DATE__ ")\n"
"\n");
}
__initlist(badge4_banner, INIT_LEVEL_INITIAL_HARDWARE + 1);
@@ -136,6 +136,13 @@
int typ0, typ1;
int memory_type, row_bits, col_bits, module_rows, row_density;
u8 spd[128];
+
+ /* Disable memory bus/grant signals to avoid any suprious
+ memory requests */
+ PGSR &= ~GPIO_MBGNT;
+ GPCR = GPIO_MBGNT;
+ GPDR = (GPDR & ~GPIO_MBREQ) | GPIO_MBGNT;
+ GAFR &= ~(GPIO_MBGNT | GPIO_MBREQ);
GPDR |= (BADGE4_GPIO_SDTYP1 | BADGE4_GPIO_SDTYP0);
|