From: Pete P. <pp...@us...> - 2002-09-26 05:39:43
|
Update of /cvsroot/linux-mips/linux/arch/mips/au1000/pb1500 In directory usw-pr-cvs1:/tmp/cvs-serv1799/arch/mips/au1000/pb1500 Modified Files: setup.c Log Message: Split up the Pb board and Au CPU dependencies properly. Index: setup.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/pb1500/setup.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- setup.c 17 Sep 2002 18:20:00 -0000 1.9 +++ setup.c 26 Sep 2002 05:39:39 -0000 1.10 @@ -52,7 +52,7 @@ #define CONFIG_AU1000_OHCI_FIX #endif -#if defined(CONFIG_AU1000_SERIAL_CONSOLE) +#if defined(CONFIG_AU1X00_SERIAL_CONSOLE) extern void console_setup(char *, int *); char serial_console[20]; #endif @@ -88,7 +88,7 @@ __asm__ volatile ("sync"); } -void __init au1500_setup(void) +void __init au1x00_setup(void) { char *argptr; u32 pin_func, static_cfg0; @@ -101,7 +101,7 @@ /* Various early Au1500 Errata corrected by this */ set_cp0_config(1<<19); /* Config[OD] */ -#ifdef CONFIG_AU1000_SERIAL_CONSOLE +#ifdef CONFIG_AU1X00_SERIAL_CONSOLE if ((argptr = strstr(argptr, "console=")) == NULL) { argptr = prom_getcmdline(); strcat(argptr, " console=ttyS0,115200"); @@ -136,7 +136,7 @@ au_writel(0, SYS_PINSTATERD); udelay(100); -#if defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1000_USB_DEVICE) +#if defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE) #ifdef CONFIG_USB_OHCI if ((argptr = strstr(argptr, "usb_ohci=")) == NULL) { char usb_args[80]; @@ -174,19 +174,19 @@ #ifdef CONFIG_USB_OHCI sys_clksrc |= ((4<<12) | (0<<11) | (0<<10)); #endif -#ifdef CONFIG_AU1000_USB_DEVICE +#ifdef CONFIG_AU1X00_USB_DEVICE sys_clksrc |= ((4<<7) | (0<<6) | (0<<5)); #endif au_writel(sys_clksrc, SYS_CLKSRC); pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); -#ifndef CONFIG_AU1000_USB_DEVICE +#ifndef CONFIG_AU1X00_USB_DEVICE // 2nd USB port is USB host pin_func |= 0x8000; #endif au_writel(pin_func, SYS_PINFUNC); -#endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1000_USB_DEVICE) +#endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE) #ifdef CONFIG_USB_OHCI |