Skip to content

Commit

Permalink
sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC}
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Corentin Labbe <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: David S. Miller <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/18560/
  • Loading branch information
amalon committed Feb 15, 2018
1 parent ec89756 commit 5efad9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ config SPARC_LEON
depends on SPARC32
select USB_EHCI_BIG_ENDIAN_MMIO
select USB_EHCI_BIG_ENDIAN_DESC
select USB_UHCI_BIG_ENDIAN_MMIO
select USB_UHCI_BIG_ENDIAN_DESC
---help---
If you say Y here if you are running on a SPARC-LEON processor.
The LEON processor is a synthesizable VHDL model of the
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ config USB_EHCI_BIG_ENDIAN_DESC

config USB_UHCI_BIG_ENDIAN_MMIO
bool
default y if SPARC_LEON

config USB_UHCI_BIG_ENDIAN_DESC
bool
default y if SPARC_LEON

menuconfig USB_SUPPORT
bool "USB support"
Expand Down

0 comments on commit 5efad9e

Please sign in to comment.