sh: Consolidated SH7751/SH7780 PCI support.

This cleans up quite a lot of the PCI mess that we
currently have, and attempts to consolidate the
duplication in the SH7780 and SH7751 PCI controllers.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2006-09-27 16:43:28 +09:00
parent e108b2ca23
commit 959f85f8a3
37 changed files with 985 additions and 1521 deletions

View File

@@ -255,23 +255,12 @@ void __init init_mpc1211_IRQ(void)
}
}
/*
Initialize the board
*/
static void delay (void)
{
volatile unsigned short tmp;
tmp = *(volatile unsigned short *) 0xa0000000;
}
static void delay1000 (void)
static void delay1000(void)
{
int i;
for (i=0; i<1000; i++)
delay ();
ctrl_delay();
}
static int put_smb_blk(unsigned char *p, int address, int command, int no)