From 0723a49181ffbcfe0726e00558b63915bcd831fd Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 6 Jan 2015 07:35:05 +0000 Subject: The QCA955x USB init path doesn't require any of this, so delete it. Obtained from: Linux/OpenWRT --- sys/mips/atheros/qca955x_chip.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/sys/mips/atheros/qca955x_chip.c b/sys/mips/atheros/qca955x_chip.c index 6865a3d06057..5c967aaedd09 100644 --- a/sys/mips/atheros/qca955x_chip.c +++ b/sys/mips/atheros/qca955x_chip.c @@ -297,25 +297,6 @@ qca955x_configure_gmac(uint32_t gmac_cfg) static void qca955x_chip_init_usb_peripheral(void) { -#if 0 - uint32_t reg; - - reg = ATH_READ_REG(AR934X_RESET_REG_BOOTSTRAP); - if (reg & AR934X_BOOTSTRAP_USB_MODE_DEVICE) - return; - - ar71xx_device_stop(AR934X_RESET_USBSUS_OVERRIDE); - DELAY(100); - - ar71xx_device_start(AR934X_RESET_USB_PHY); - DELAY(100); - - ar71xx_device_start(AR934X_RESET_USB_PHY_ANALOG); - DELAY(100); - - ar71xx_device_start(AR934X_RESET_USB_HOST); - DELAY(100); -#endif } static void -- cgit v1.2.3