Hi Marek,

On Wed, Apr 1, 2015 at 4:15 PM, Marek Vasut <[email protected]> wrote:

>> +#define USB_NC_REG_OFFSET                            0x00000800
>> +#define USBCx_CTRL_OFFSET                            0x00000000
>> +#define USBCx_PHY_CTRL_OFFSET                        0x00000018
>
> Please define the register offsets using the regular struct {} method,
> see for example struct mxs_usbphy_regs and it's usage in ehci-mxs.c .

I thought we were trying to get rid of the 'no register access via
offset' rule in U-boot.
https://www.marc.info/?l=u-boot&m=142609602127309&w=2

Please see:

Regards,

Fabio Estevam
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to