Skip to contentSkip to conversation

Pb1000: bury the remnants of the PCI code (part 2)

PATCH In review Sergei Shtylyov 1 participant 2 messages Apr 29, 2008 – May 8, 2008 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Pb1000: bury the remnants of the PCI code (part 2)

---
Here's the fragment I missed in the initial patch. Combine them if possible...

 arch/mips/au1000/pb1000/board_setup.c |    7 -------
 1 files changed, 7 deletions(-)
arch/mips/au1000/pb1000/board_setup.c +0 -7
Index: linux-2.6/arch/mips/au1000/pb1000/board_setup.c
===================================================================
@@ -153,13 +153,6 @@ void __init board_setup(void)
 	au_writel(0x280E3D07, MEM_STTIME3); /* 250ns cycle time */
 	au_writel(0x10000000, MEM_STADDR3); /* any PCMCIA select */
 
-#ifdef CONFIG_PCI
-	au_writel(0, PCI_BRIDGE_CONFIG); // set extend byte to 0
-	au_writel(0, SDRAM_MBAR);        // set mbar to 0
-	au_writel(0x2, SDRAM_CMD);       // enable memory accesses
-	au_sync_delay(1);
-#endif
-
 	/* Enable Au1000 BCLK switching - note: sed1356 must not use
 	 * its BCLK (Au1000 LCLK) for any timings */
 	switch (prid & 0x000000FF)
#1 lore raw
Quoted 4 lines · Hello, I wrote:

---
Here's the fragment I missed in the initial patch. Combine them if possible...

So, Ralf, will you apply this patch as is or I need to do something about
it (like adding log message)?

Quoted 12 lines
 arch/mips/au1000/pb1000/board_setup.c |    7 -------
 1 files changed, 7 deletions(-)

Index: linux-2.6/arch/mips/au1000/pb1000/board_setup.c
===================================================================

arch/mips/au1000/pb1000/board_setup.c +0 -0
@@ -153,13 +153,6 @@ void __init board_setup(void)
 	au_writel(0x280E3D07, MEM_STTIME3); /* 250ns cycle time */
 	au_writel(0x10000000, MEM_STADDR3); /* any PCMCIA select */
 

arch/mips/au1000/pb1000/board_setup.c void __init board_setup(void) · line 158

Quoted 10 lines
arch/mips/au1000/pb1000/board_setup.c +0 -7
-#ifdef CONFIG_PCI
-	au_writel(0, PCI_BRIDGE_CONFIG); // set extend byte to 0
-	au_writel(0, SDRAM_MBAR);        // set mbar to 0
-	au_writel(0x2, SDRAM_CMD);       // enable memory accesses
-	au_sync_delay(1);
-#endif
-
 	/* Enable Au1000 BCLK switching - note: sed1356 must not use
 	 * its BCLK (Au1000 LCLK) for any timings */
 	switch (prid & 0x000000FF)

WBR, Sergei