]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/au1000/db1x00/board_setup.c
[MIPS] Alchemy: kill useless #include's, #define's and extern's
[linux-2.6-omap-h63xx.git] / arch / mips / au1000 / db1x00 / board_setup.c
index 7a79293f852730e403309786bf4644d5b5cc7103..b7dcbad5c5861070b267393f3f44e1fce1c036ff 100644 (file)
  *  with this program; if not, write  to the Free Software Foundation, Inc.,
  *  675 Mass Ave, Cambridge, MA 02139, USA.
  */
+
 #include <linux/init.h>
-#include <linux/sched.h>
-#include <linux/ioport.h>
-#include <linux/mm.h>
-#include <linux/console.h>
-#include <linux/mc146818rtc.h>
-#include <linux/delay.h>
-
-#include <asm/cpu.h>
-#include <asm/bootinfo.h>
-#include <asm/irq.h>
-#include <asm/mipsregs.h>
-#include <asm/reboot.h>
-#include <asm/pgtable.h>
+
 #include <asm/mach-au1x00/au1000.h>
 #include <asm/mach-db1x00/db1x00.h>
 
 static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR;
 
-void board_reset (void)
+void board_reset(void)
 {
        /* Hit BCSR.SYSTEM_CONTROL[SW_RST] */
        bcsr->swreset = 0x0000;
@@ -58,11 +47,6 @@ void __init board_setup(void)
 
        pin_func = 0;
        /* not valid for 1550 */
-#ifdef CONFIG_AU1X00_USB_DEVICE
-       // 2nd USB port is USB device
-       pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000);
-       au_writel(pin_func, SYS_PINFUNC);
-#endif
 
 #if defined(CONFIG_IRDA) && (defined(CONFIG_SOC_AU1000) || defined(CONFIG_SOC_AU1100))
        /* set IRFIRSEL instead of GPIO15 */