From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC Patch 2/2] driver/usb/fsl: Make FSL USB driver common
Date: Mon, 24 Nov 2014 09:51:23 -0800 [thread overview]
Message-ID: <5473701B.7010103@freescale.com> (raw)
In-Reply-To: <b1aa2df76ef34a44bbaedc91e439eb9e@CY1PR0301MB1257.namprd03.prod.outlook.com>
On 11/21/2014 08:27 PM, Badola Nikhil-B46172 wrote:
>> -----Original Message-----
>> From: York Sun [mailto:yorksun at freescale.com]
>> Sent: Thursday, November 20, 2014 2:55 AM
>> To: u-boot at lists.denx.de
>> Cc: Sun York-R58495; Wang Huan-B18965; Badola Nikhil-B46172
>> Subject: [RFC Patch 2/2] driver/usb/fsl: Make FSL USB driver common
>>
>> Add ifdef for powerpc specific code. This driver can be used by arm SoCs.
>>
>> Signed-off-by: York Sun <yorksun@freescale.com>
>> CC: Alison Wang <alison.wang@freescale.com>
>> CC: Nikhil Badola <nikhil.badola@freescale.com>
>> ---
>> This patch is needed if fsl USB driver is enabled for ARM SoCs, like LS1021.
>>
>> drivers/usb/host/ehci-fsl.c | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index
>> 79fb6b4..994bfd7 100644
>> --- a/drivers/usb/host/ehci-fsl.c
>> +++ b/drivers/usb/host/ehci-fsl.c
>> @@ -130,9 +130,11 @@ int ehci_hcd_init(int index, enum usb_init_type init,
>>
>> in_le32(&ehci->usbmode);
>>
>> +#ifdef CONFIG_PPC
>> if (SVR_SOC_VER(get_svr()) == SVR_T4240 &&
>> IS_SVR_REV(get_svr(), 2, 0))
>> set_txfifothresh(ehci, TXFIFOTHRESH);
>> +#endif
>
> This patch can be replaced by
> http://patchwork.ozlabs.org/patch/400407/
Great! I will drop this patch.
York
next prev parent reply other threads:[~2014-11-24 17:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-19 21:24 [U-Boot] [RFC Patch 1/2] powerpc: Move fsl_errata.h out of arch/powerpc York Sun
2014-11-19 21:24 ` [U-Boot] [RFC Patch 2/2] driver/usb/fsl: Make FSL USB driver common York Sun
2014-11-22 4:27 ` nikhil.badola at freescale.com
2014-11-24 17:51 ` York Sun [this message]
2014-11-20 4:05 ` [U-Boot] [RFC Patch 1/2] powerpc: Move fsl_errata.h out of arch/powerpc Prabhakar Kushwaha
2014-11-20 17:50 ` York Sun
2014-11-21 9:09 ` nikhil.badola at freescale.com
2014-11-21 17:09 ` York Sun
2014-11-21 17:32 ` York Sun
2014-11-22 4:30 ` nikhil.badola at freescale.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5473701B.7010103@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox