[U-Boot] [RESEND PATCH 5/6] usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's

Fabio Estevam festevam at gmail.com
Thu Apr 9 18:51:45 CEST 2015


Hi Marek,

On Wed, Apr 1, 2015 at 4:15 PM, Marek Vasut <marex at denx.de> 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


More information about the U-Boot mailing list