[U-Boot] [PATCH] usb: xhci: Set number of event segments and entries to 1
Bin Meng
bmeng.cn at gmail.com
Wed Sep 13 08:09:11 UTC 2017
On Wed, Sep 13, 2017 at 5:02 AM, Marek Vasut <marek.vasut at gmail.com> wrote:
> The Linux kernel driver sets the number of event segments and entries
> to 1 , while the initial import of the xhci code set that values to 3
> for reasons unknown. While most controllers are fine with more event
> segments with more entries, there are standard-conformant controllers
> (ie. Renesas RCar xHCI) which only support 1 event segment.
>
> Set the number of event segments and event entries back to 1 to allow
> such controllers to work with U-Boot xHCI stack. Note that the Renesas
> controller correctly indicates ERST Max = 1 in HCSPARAMS2[7:4] .
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> ---
> drivers/usb/host/xhci.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list