From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] usb: dwc2: Add support for v3 snpsid value
Date: Tue, 12 May 2015 20:30:03 +0200 [thread overview]
Message-ID: <201505122030.03779.marex@denx.de> (raw)
In-Reply-To: <1431437912-18988-2-git-send-email-peter.griffin@linaro.org>
On Tuesday, May 12, 2015 at 03:38:27 PM, Peter Griffin wrote:
> This has been tested to the extent that I can enumerate
> a asix usb networking adapter and boot a kernel over usb
> on the 96boards hikey u-boot port I'm currently doing.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> drivers/usb/host/dwc2.c | 3 ++-
> drivers/usb/host/dwc2.h | 1 +
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
> index e8142ac..19a6007 100644
> --- a/drivers/usb/host/dwc2.c
> +++ b/drivers/usb/host/dwc2.c
> @@ -1015,7 +1015,8 @@ int usb_lowlevel_init(int index, enum usb_init_type
> init, void **controller) snpsid = readl(®s->gsnpsid);
> printf("Core Release: %x.%03x\n", snpsid >> 12 & 0xf, snpsid & 0xfff);
>
> - if ((snpsid & DWC2_SNPSID_DEVID_MASK) != DWC2_SNPSID_DEVID_VER_2xx) {
> + if ((snpsid & DWC2_SNPSID_DEVID_MASK) != DWC2_SNPSID_DEVID_VER_2xx &&
> + (snpsid & DWC2_SNPSID_DEVID_MASK) != DWC2_SNPSID_DEVID_VER_3xx) {
Isn't this then a DWC3 controller instead ?
Best regards,
Marek Vasut
next parent reply other threads:[~2015-05-12 18:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1431437912-18988-1-git-send-email-peter.griffin@linaro.org>
[not found] ` <1431437912-18988-2-git-send-email-peter.griffin@linaro.org>
2015-05-12 18:30 ` Marek Vasut [this message]
2015-05-13 11:00 ` [U-Boot] [PATCH 1/6] usb: dwc2: Add support for v3 snpsid value Peter Griffin
2015-05-13 20:05 ` Marek Vasut
[not found] ` <1431437912-18988-3-git-send-email-peter.griffin@linaro.org>
2015-05-12 18:36 ` [U-Boot] [PATCH 2/6] dm: gpio: hi6220: Add a hi6220 GPIO driver model driver Marek Vasut
2015-05-12 19:08 ` Tom Rini
2015-05-13 12:00 ` Peter Griffin
2015-05-13 20:01 ` Marek Vasut
[not found] ` <1431437912-18988-6-git-send-email-peter.griffin@linaro.org>
2015-05-12 18:39 ` [U-Boot] [PATCH 5/6] mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller Marek Vasut
2015-05-13 12:10 ` Peter Griffin
2015-05-12 13:25 [U-Boot] [PATCH 0/6] Add support for hi6220 SoC and HiKey 96boards CE board Peter Griffin
2015-05-12 13:25 ` [U-Boot] [PATCH 1/6] usb: dwc2: Add support for v3 snpsid value Peter Griffin
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=201505122030.03779.marex@denx.de \
--to=marex@denx.de \
--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