linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2/2] sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC}
@ 2018-01-31 22:24 James Hogan
  0 siblings, 0 replies; 2+ messages in thread
From: James Hogan @ 2018-01-31 22:24 UTC (permalink / raw)
  To: Greg Kroah-Hartman, David S. Miller
  Cc: linux-mips, Paul Burton, Ralf Baechle, James Hogan,
	Corentin Labbe, sparclinux, linux-usb

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
---
 arch/sparc/Kconfig  | 2 ++
 drivers/usb/Kconfig | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 6bf594ace663..8767e45f1b2b 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -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
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 65812a2f60b4..148f3ee70286 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -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"

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [2/2] sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC}
@ 2018-02-01  3:36 David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-02-01  3:36 UTC (permalink / raw)
  To: jhogan
  Cc: gregkh, linux-mips, paul.burton, ralf, clabbe.montjoie,
	sparclinux, linux-usb

From: James Hogan <jhogan@kernel.org>
Date: Wed, 31 Jan 2018 22:24:46 +0000

> 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>

Acked-by: David S. Miller <davem@davemloft.net>
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-01  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01  3:36 [2/2] sparc,leon: Select USB_UHCI_BIG_ENDIAN_{MMIO,DESC} David Miller
  -- strict thread matches above, loose matches on Subject: below --
2018-01-31 22:24 James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).