diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2015-01-06 07:35:05 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-01-06 07:35:05 +0000 |
commit | 0723a49181ffbcfe0726e00558b63915bcd831fd (patch) | |
tree | 338b55263aab5ebbc589a09b7513e8e0ae7b56d3 | |
parent | a91275f72fda164c3d0efdb1190d334b5b447f22 (diff) | |
download | src-0723a49181ffbcfe0726e00558b63915bcd831fd.tar.gz src-0723a49181ffbcfe0726e00558b63915bcd831fd.zip |
The QCA955x USB init path doesn't require any of this, so delete it.
Obtained from: Linux/OpenWRT
Notes
Notes:
svn path=/head/; revision=276738
-rw-r--r-- | sys/mips/atheros/qca955x_chip.c | 19 |
1 files changed, 0 insertions, 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 |