[U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

Fabio Estevam festevam at gmail.com
Sun Feb 17 21:11:48 CET 2013


On Sun, Feb 17, 2013 at 5:07 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:

> I did it but mxs gives the impression it does mostly the same in both
> socs; as the code is mostly different between both I choose soc so it
> is clear it is for the soc it is being build.
>
> That was my thought... what do you think?

When I read  "soc_ehci_hcd_enable_clock" I tend to think that this is
a core USB function.

When I read "mxs_ehci_hcd_enable_clock" it's clear to me that this
relates only to mx23/mx28.

Even if it handles the differences between mx23/mx28, I would prefer
it with a "mxs" prefix.


More information about the U-Boot mailing list