sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC}

Now that USB_UHCI_BIG_ENDIAN_MMIO and USB_UHCI_BIG_ENDIAN_DESC are moved
outside of the USB_SUPPORT conditional, simply select them from
SPARC_LEON rather than by the symbol's defaults in drivers/usb/Kconfig,
similar to how it is done for USB_EHCI_BIG_ENDIAN_MMIO and
USB_EHCI_BIG_ENDIAN_DESC.

Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Cc: sparclinux@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: David S. Miller <davem@davemloft.net>
Patchwork: https://patchwork.linux-mips.org/patch/18560/
This commit is contained in:
James Hogan 2018-01-31 22:24:46 +00:00
parent ec897569ad
commit 5efad9eee3
No known key found for this signature in database
GPG Key ID: 6C0B6993DE38767A
2 changed files with 2 additions and 2 deletions

View File

@ -430,6 +430,8 @@ config SPARC_LEON
depends on SPARC32 depends on SPARC32
select USB_EHCI_BIG_ENDIAN_MMIO select USB_EHCI_BIG_ENDIAN_MMIO
select USB_EHCI_BIG_ENDIAN_DESC select USB_EHCI_BIG_ENDIAN_DESC
select USB_UHCI_BIG_ENDIAN_MMIO
select USB_UHCI_BIG_ENDIAN_DESC
---help--- ---help---
If you say Y here if you are running on a SPARC-LEON processor. If you say Y here if you are running on a SPARC-LEON processor.
The LEON processor is a synthesizable VHDL model of the The LEON processor is a synthesizable VHDL model of the

View File

@ -21,11 +21,9 @@ config USB_EHCI_BIG_ENDIAN_DESC
config USB_UHCI_BIG_ENDIAN_MMIO config USB_UHCI_BIG_ENDIAN_MMIO
bool bool
default y if SPARC_LEON
config USB_UHCI_BIG_ENDIAN_DESC config USB_UHCI_BIG_ENDIAN_DESC
bool bool
default y if SPARC_LEON
menuconfig USB_SUPPORT menuconfig USB_SUPPORT
bool "USB support" bool "USB support"