From: Ilya Yanok Date: Sat, 30 Jun 2012 16:08:48 +0000 (UTC) Subject: [U-Boot] =?utf-8?q?=5BPATCH_v3_1/3=5D_AM335x_=3A_Add_USB_support_?= =?utf-8?q?for_AM335x_in=09u-boot?= References: <1340703483-27276-1-git-send-email-harman_sohanpal@ti.com> <1340703483-27276-2-git-send-email-harman_sohanpal@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Harman Sohanpal ti.com> writes: > +/* Control Module Registers */ > +#define CM_REGISTERS CTRL_BASE > +#define USB_CTRL0_REG_OFFSET (0x628) > +#define USB_CTRL1_REG_OFFSET (0x680) 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.