diff mbox

usb: allow sh7724 to enable on-chip r8a66597

Message ID 20090703091246.17296.20411.sendpatchset@rx1.opensource.se (mailing list archive)
State Accepted
Headers show

Commit Message

Magnus Damm July 3, 2009, 9:12 a.m. UTC
From: Magnus Damm <damm@igel.co.jp>

The sh7724 processor has two on-chip r8a66597 blocks, so add
it to the list of processors for SUPERH_ON_CHIP_R8A66597.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 Tested on a sh7724 Solution Engine.

 And yes, to avoid this kind of patches in the future this Kconfig
 option should be replaced with platform data. Will fix.

 drivers/usb/host/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Yoshihiro Shimoda July 6, 2009, 5:46 a.m. UTC | #1
Magnus Damm wrote:
> From: Magnus Damm <damm@igel.co.jp>
> 
> The sh7724 processor has two on-chip r8a66597 blocks, so add
> it to the list of processors for SUPERH_ON_CHIP_R8A66597.
> 
> Signed-off-by: Magnus Damm <damm@igel.co.jp>
> ---

Thank you for your patch.

Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>

Thanks,
Yoshihiro Shimoda
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/drivers/usb/host/Kconfig
+++ work/drivers/usb/host/Kconfig	2009-07-03 18:01:08.000000000 +0900
@@ -337,10 +337,10 @@  config USB_R8A66597_HCD
 
 config SUPERH_ON_CHIP_R8A66597
 	boolean "Enable SuperH on-chip R8A66597 USB"
-	depends on USB_R8A66597_HCD && (CPU_SUBTYPE_SH7366 || CPU_SUBTYPE_SH7723)
+	depends on USB_R8A66597_HCD && (CPU_SUBTYPE_SH7366 || CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7724)
 	help
 	   This driver enables support for the on-chip R8A66597 in the
-	   SH7366 and SH7723 processors.
+	   SH7366, SH7723 and SH7724 processors.
 
 config USB_WHCI_HCD
 	tristate "Wireless USB Host Controller Interface (WHCI) driver (EXPERIMENTAL)"