Re: [U-Boot] TI Davinci and MUSB

2010-02-04 Thread Gupta, Ajay Kumar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Friday, February 05, 2010 12:12 PM > To: Gupta, Ajay Kumar > Cc: Neal Tew; u-boot@lists.denx.de > Subject: Re: [U-Boot] TI Davinci and MUSB > > Dear "Gupta,

Re: [U-Boot] TI Davinci and MUSB

2010-02-04 Thread Wolfgang Denk
Dear "Gupta, Ajay Kumar", In message <19f8576c6e063c45be387c64729e7394044a776...@dbde02.ent.ti.com> you wrote: > > Opps, there are actually 32 intermediate register each of 32 bits. > > So the correct one is as Neal suggested. > > - u32 reserved[0x20]; > + u32 reserved[020/4]; 0x20 / 4 = 8 02

Re: [U-Boot] TI Davinci and MUSB

2010-02-04 Thread Wolfgang Denk
Dear "Gupta, Ajay Kumar", In message <19f8576c6e063c45be387c64729e7394044a775...@dbde02.ent.ti.com> you wrote: > > > u32 reserved[0x20]; > > u32 intclrr; > > u32 intmskr; > > u32 intmsksetr; > > }; > > > > Shouldn't this be reserved[0x20/4] ? > > Yes, this is a bug. Though the

Re: [U-Boot] TI Davinci and MUSB

2010-02-04 Thread Gupta, Ajay Kumar
> -Original Message- > From: Neal Tew [mailto:lo...@mm.st] > Sent: Friday, February 05, 2010 11:20 AM > To: u-boot@lists.denx.de > Cc: Gupta, Ajay Kumar > Subject: Re: [U-Boot] TI Davinci and MUSB > > [5]? I don't think that's right. Look at the of

Re: [U-Boot] TI Davinci and MUSB

2010-02-04 Thread Neal Tew
[5]? I don't think that's right. Look at the offsets. -Neal > I've been trying to get usbtty working on a DM355 (still isn't > working...) and ran into a bug(?). > > In drivers/usb/musb/davinci.h: > > struct davinci_usb_regs { > u32 version; > u32 ctrlr; > u32 reserved[0x20]; >

Re: [U-Boot] TI Davinci and MUSB

2010-02-04 Thread Gupta, Ajay Kumar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Neal Tew > Sent: Friday, February 05, 2010 3:33 AM > To: u-boot@lists.denx.de > Subject: [U-Boot] TI Davinci and MUSB > > I've been trying to

[U-Boot] TI Davinci and MUSB

2010-02-04 Thread Neal Tew
I've been trying to get usbtty working on a DM355 (still isn't working...) and ran into a bug(?). In drivers/usb/musb/davinci.h: struct davinci_usb_regs { u32 version; u32 ctrlr; u32 reserved[0x20]; u32 intclrr; u32 intmskr; u32 intmsksetr; }; Shouldn't this be reserved[0