Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Simon Glass
Hi, On 8 June 2017 at 08:16, Tom Rini wrote: > On Wed, Jun 07, 2017 at 03:40:30PM +0200, Marek Vasut wrote: >> On 06/07/2017 03:37 PM, Simon Glass wrote: >> > Hi Marek, >> > >> > On 7 June 2017 at 07:33, Marek Vasut wrote: >> >> On 06/07/2017 03:28 PM, Simon Glass wrote: >> >>> Hi Marek, >> >>>

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Tom Rini
On Thu, Jun 08, 2017 at 07:59:30AM -0600, Simon Glass wrote: > Hi Marek, > > On 8 June 2017 at 07:48, Marek Vasut wrote: > > On 06/08/2017 03:45 PM, Simon Glass wrote: > >> Hi Marek, > >> > >> On 8 June 2017 at 06:33, Marek Vasut wrote: > >>> On 06/08/2017 05:34 AM, s...@google.com wrote: >

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Tom Rini
On Wed, Jun 07, 2017 at 03:40:30PM +0200, Marek Vasut wrote: > On 06/07/2017 03:37 PM, Simon Glass wrote: > > Hi Marek, > > > > On 7 June 2017 at 07:33, Marek Vasut wrote: > >> On 06/07/2017 03:28 PM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On 7 June 2017 at 06:55, Marek Vasut wrote: > >>

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Simon Glass
Hi Marek, On 8 June 2017 at 07:48, Marek Vasut wrote: > On 06/08/2017 03:45 PM, Simon Glass wrote: >> Hi Marek, >> >> On 8 June 2017 at 06:33, Marek Vasut wrote: >>> On 06/08/2017 05:34 AM, s...@google.com wrote: On 06/07/2017 03:37 PM, Simon Glass wrote: > Hi Marek, > > On 7 Ju

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Marek Vasut
On 06/08/2017 03:45 PM, Simon Glass wrote: > Hi Marek, > > On 8 June 2017 at 06:33, Marek Vasut wrote: >> On 06/08/2017 05:34 AM, s...@google.com wrote: >>> On 06/07/2017 03:37 PM, Simon Glass wrote: Hi Marek, On 7 June 2017 at 07:33, Marek Vasut wrote: > On 06/07/2017 03:28 P

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Simon Glass
Hi Marek, On 8 June 2017 at 06:33, Marek Vasut wrote: > On 06/08/2017 05:34 AM, s...@google.com wrote: >> On 06/07/2017 03:37 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 7 June 2017 at 07:33, Marek Vasut wrote: On 06/07/2017 03:28 PM, Simon Glass wrote: > Hi Marek, > > On 7

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-08 Thread Marek Vasut
On 06/08/2017 05:34 AM, s...@google.com wrote: > On 06/07/2017 03:37 PM, Simon Glass wrote: >> Hi Marek, >> >> On 7 June 2017 at 07:33, Marek Vasut wrote: >>> On 06/07/2017 03:28 PM, Simon Glass wrote: Hi Marek, On 7 June 2017 at 06:55, Marek Vasut wrote: > On 06/07/2017 02:53

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread sjg
On 06/07/2017 03:37 PM, Simon Glass wrote: > Hi Marek, > > On 7 June 2017 at 07:33, Marek Vasut wrote: >> On 06/07/2017 03:28 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 7 June 2017 at 06:55, Marek Vasut wrote: On 06/07/2017 02:53 PM, Simon Glass wrote: > Hi Marek, > > On 7 J

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Marek Vasut
On 06/07/2017 03:37 PM, Simon Glass wrote: > Hi Marek, > > On 7 June 2017 at 07:33, Marek Vasut wrote: >> On 06/07/2017 03:28 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 7 June 2017 at 06:55, Marek Vasut wrote: On 06/07/2017 02:53 PM, Simon Glass wrote: > Hi Marek, > > On 7

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Simon Glass
Hi Marek, On 7 June 2017 at 07:33, Marek Vasut wrote: > On 06/07/2017 03:28 PM, Simon Glass wrote: >> Hi Marek, >> >> On 7 June 2017 at 06:55, Marek Vasut wrote: >>> On 06/07/2017 02:53 PM, Simon Glass wrote: Hi Marek, On 7 June 2017 at 06:41, Marek Vasut wrote: > On 06/07/20

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Marek Vasut
On 06/07/2017 03:28 PM, Simon Glass wrote: > Hi Marek, > > On 7 June 2017 at 06:55, Marek Vasut wrote: >> On 06/07/2017 02:53 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 7 June 2017 at 06:41, Marek Vasut wrote: On 06/07/2017 02:38 PM, Simon Glass wrote: > +Tom for comment >

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Simon Glass
Hi Marek, On 7 June 2017 at 06:55, Marek Vasut wrote: > On 06/07/2017 02:53 PM, Simon Glass wrote: >> Hi Marek, >> >> On 7 June 2017 at 06:41, Marek Vasut wrote: >>> On 06/07/2017 02:38 PM, Simon Glass wrote: +Tom for comment Hi Marek, On 7 June 2017 at 00:27, Marek Vasu

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Marek Vasut
On 06/07/2017 02:53 PM, Simon Glass wrote: > Hi Marek, > > On 7 June 2017 at 06:41, Marek Vasut wrote: >> On 06/07/2017 02:38 PM, Simon Glass wrote: >>> +Tom for comment >>> >>> Hi Marek, >>> >>> On 7 June 2017 at 00:27, Marek Vasut wrote: On 06/07/2017 02:16 AM, Simon Glass wrote: > Hi

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Simon Glass
Hi Marek, On 7 June 2017 at 06:41, Marek Vasut wrote: > On 06/07/2017 02:38 PM, Simon Glass wrote: >> +Tom for comment >> >> Hi Marek, >> >> On 7 June 2017 at 00:27, Marek Vasut wrote: >>> On 06/07/2017 02:16 AM, Simon Glass wrote: Hi, On 6 June 2017 at 17:59, Dr. Philipp Tomsich

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Marek Vasut
On 06/07/2017 02:38 PM, Simon Glass wrote: > +Tom for comment > > Hi Marek, > > On 7 June 2017 at 00:27, Marek Vasut wrote: >> On 06/07/2017 02:16 AM, Simon Glass wrote: >>> Hi, >>> >>> On 6 June 2017 at 17:59, Dr. Philipp Tomsich >>> wrote: Simon, > On 06 Jun 2017, at 23:09, Simo

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Simon Glass
+Tom for comment Hi Marek, On 7 June 2017 at 00:27, Marek Vasut wrote: > On 06/07/2017 02:16 AM, Simon Glass wrote: >> Hi, >> >> On 6 June 2017 at 17:59, Dr. Philipp Tomsich >> wrote: >>> Simon, >>> On 06 Jun 2017, at 23:09, Simon Glass wrote: Hi Philipp, On 6 June 201

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-07 Thread Marek Vasut
On 06/07/2017 02:16 AM, Simon Glass wrote: > Hi, > > On 6 June 2017 at 17:59, Dr. Philipp Tomsich > wrote: >> Simon, >> >>> On 06 Jun 2017, at 23:09, Simon Glass wrote: >>> >>> Hi Philipp, >>> >>> On 6 June 2017 at 07:42, Philipp Tomsich >>> wrote: The regs_otg field in uintptr_t of the pl

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-06 Thread Simon Glass
Hi, On 6 June 2017 at 17:59, Dr. Philipp Tomsich wrote: > Simon, > >> On 06 Jun 2017, at 23:09, Simon Glass wrote: >> >> Hi Philipp, >> >> On 6 June 2017 at 07:42, Philipp Tomsich >> wrote: >>> The regs_otg field in uintptr_t of the platform data structure for >>> dwc2-otg has thus far been an

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-06 Thread Dr. Philipp Tomsich
Simon, > On 06 Jun 2017, at 23:09, Simon Glass wrote: > > Hi Philipp, > > On 6 June 2017 at 07:42, Philipp Tomsich > wrote: >> The regs_otg field in uintptr_t of the platform data structure for >> dwc2-otg has thus far been an unsigned int, but will eventually be >> casted into a void*. >> >>

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-06 Thread Simon Glass
Hi Philipp, On 6 June 2017 at 07:42, Philipp Tomsich wrote: > The regs_otg field in uintptr_t of the platform data structure for > dwc2-otg has thus far been an unsigned int, but will eventually be > casted into a void*. > > This raises the following error with GCC 6.3 and buildman: > ../driver

Re: [U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-06 Thread Marek Vasut
On 06/06/2017 03:42 PM, Philipp Tomsich wrote: > The regs_otg field in uintptr_t of the platform data structure for > dwc2-otg has thus far been an unsigned int, but will eventually be > casted into a void*. > > This raises the following error with GCC 6.3 and buildman: > ../drivers/usb/gadget/d

[U-Boot] [PATCH v2 4/7] usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t

2017-06-06 Thread Philipp Tomsich
The regs_otg field in uintptr_t of the platform data structure for dwc2-otg has thus far been an unsigned int, but will eventually be casted into a void*. This raises the following error with GCC 6.3 and buildman: ../drivers/usb/gadget/dwc2_udc_otg.c: In function 'dwc2_udc_probe': ../drivers/u