projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f1858
)
usb: dwc3: Correct datatype of base to unsigned long
author
Siva Durga Prasad Paladugu
<siva.durga.paladugu@xilinx.com>
Thu, 12 May 2016 06:57:13 +0000
(08:57 +0200)
committer
Marek Vasut
<marex@denx.de>
Fri, 3 Jun 2016 22:43:51 +0000
(
00:43
+0200)
Correct type of varibale base to unsigned long as
keeping it as int causes usb failures if MSB of
the base address is set.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/dwc3-uboot.h
patch
|
blob
|
history
diff --git
a/include/dwc3-uboot.h
b/include/dwc3-uboot.h
index 09ff8a74d669aae53e007c15f988af8922feb7d2..7af2ad11e4ed30f0453c299be594c6688d111b42 100644
(file)
--- a/
include/dwc3-uboot.h
+++ b/
include/dwc3-uboot.h
@@
-13,7
+13,7
@@
#include <linux/usb/otg.h>
struct dwc3_device {
-
int
base;
+
unsigned long
base;
enum usb_dr_mode dr_mode;
u32 maximum_speed;
unsigned tx_fifo_resize:1;