[U-Boot] [PATCH v3] ulpi: add generic ULPI support header file
Jana Rapava
fermata7 at gmail.com
Mon Nov 14 20:06:15 CET 2011
2011/11/14 Igor Grinberg <grinberg at compulab.co.il>
> > +void ulpi_write(u32 ulpi_viewport, u32 reg, u32 value);
> > +u32 ulpi_read(u32 ulpi_viewport, u32 reg);
> > +
> > +void ulpi_init(u32 ulpi_viewport, struct ulpi_regs *ulpi);
>
>
> Are there any ULPI transceivers with memory mapped access?
>
>
As far as I know, there aren't any.
> Because if there are no such devices, then passing that
> struct ulpi_regs *ulpi pointer is redundant and it will
> always be 0.
>
> I think it will clearer _not_ to pass this pointer, but have it
> defined locally inside the ulpi.c. Any objections?
>
>
This looks like a good idea, thanks.
Regards,
Jana Rapava
More information about the U-Boot
mailing list