[U-Boot] [PATCH v3 1/3] AM335x : Add USB support for AM335x in u-boot
Harman Sohanpal
harmansohanpal at gmail.com
Sun Jul 1 19:33:19 CEST 2012
On Sat, Jun 30, 2012 at 9:38 PM, Ilya Yanok
<ilya.yanok at cogentembedded.com> wrote:
> Hi,
>
> Harman Sohanpal <harman_sohanpal <at> ti.com> writes:
>> +/* Control Module Registers */
>> +#define CM_REGISTERS CTRL_BASE
>> +#define USB_CTRL0_REG_OFFSET (0x628)
>> +#define USB_CTRL1_REG_OFFSET (0x680)
Hi llya,
Thanks for your review.
But I believe you are talking of version 3 of the patches.
Kindly have a look at the version 4 I have sent.
I have used the same approach which Tom has mentioned
for control register offset also.
Thanks,
Harman
> USB_CTRL1 seems to be unused. Furthermore, both values seems to be incorrect:
> according to the RM USB_CTRL0 offset should be 0x628 and USB_CTRL1 should be
> 0x628. I understand that's cause you use USB1 by default but that's kind of
> misguiding. Could you please use the approach Tom suggested for base address
> here too? Define USB_CRTL* to correct values but use USB_CONTROL_REG_OFFSET
> (defined conditionally) in code?
>
> Regards, Ilya.
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list