From: Pete P. <pp...@us...> - 2002-06-18 23:07:31
|
Update of /cvsroot/linux-mips/linux/arch/mips/au1000/pb1000 In directory usw-pr-cvs1:/tmp/cvs-serv23959/arch/mips/au1000/pb1000 Modified Files: setup.c Log Message: Fixed the pcmcia timing so the IBM Microdrive will work (patch by Alchemy/AMD). Moved the pcmcia chip select setup to setup.c instead of au1000_generic.c, since not all boards will use the same chip select. Index: setup.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/pb1000/setup.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- setup.c 1 May 2002 18:00:29 -0000 1.20 +++ setup.c 18 Jun 2002 23:07:27 -0000 1.21 @@ -249,6 +249,11 @@ au_writel(0x83, MEM_STCFG1); // ewait enabled, flash timing au_writel(0x33030a10, MEM_STTIME1); // slower timing for FPGA + /* setup the static bus controller */ + au_writel(0x00000002, MEM_STCFG3); /* type = PCMCIA */ + au_writel(0x280E3D07, MEM_STTIME3); /* 250ns cycle time */ + au_writel(0x10000000, MEM_STADDR3); /* any PCMCIA select */ + #ifdef CONFIG_FB_E1356 if ((argptr = strstr(argptr, "video=")) == NULL) { argptr = prom_getcmdline(); |