[U-Boot] [PATCH v3] ulpi: add generic ULPI support header file

Jana Rapava
2011-11-14T19:06:15Z

2011/11/14 Igor Grinberg <grinberg@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