Commit 5536b235 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Alchemy: nuke usbdev; it's useless as is ...

parent 0118c3ca
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1010,11 +1010,6 @@ endchoice
config ARC32
	bool

config AU1X00_USB_DEVICE
	bool
	depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000
	default n

config BOOT_ELF32
	bool

+0 −1
Original line number Diff line number Diff line
@@ -10,6 +10,5 @@ obj-y += prom.o irq.o puts.o time.o reset.o \
	au1xxx_irqmap.o clocks.o platform.o power.o setup.o \
	sleeper.o cputable.o dma.o dbdma.o gpio.o

obj-$(CONFIG_AU1X00_USB_DEVICE)	+= usbdev.o
obj-$(CONFIG_KGDB)		+= dbg_io.o
obj-$(CONFIG_PCI)		+= pci.o

arch/mips/au1000/common/usbdev.c

deleted100644 → 0
+0 −1552

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −5
Original line number Diff line number Diff line
@@ -58,11 +58,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 */
+2 −6
Original line number Diff line number Diff line
@@ -51,15 +51,11 @@ void board_reset (void)

void __init board_setup(void)
{
#if defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE)
#ifdef CONFIG_AU1X00_USB_DEVICE
	// 2nd USB port is USB device
	au_writel(au_readl(SYS_PINFUNC) & (u32)(~0x8000), SYS_PINFUNC);
#endif
#ifdef CONFIG_USB_OHCI
	// enable USB power switch
	au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
	au_writel( 0x100000, GPIO2_OUTPUT );
#endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE)
#endif // defined (CONFIG_USB_OHCI)

#ifdef CONFIG_PCI
#if defined(__MIPSEB__)
Loading