[U-Boot] [RFC] general ULPI support

Marek Vasut marek.vasut at gmail.com
Sat Oct 15 19:57:48 CEST 2011


On Saturday, October 15, 2011 03:19:45 PM Jana Rapava wrote:
> Hi all,

Dear Jana Rapava,

please Cc respective custodians if you want to get _ANY_ feedback at all.

> my patch, which added USB support for Efika, needed som ULPI functions. I
> was suggested to write general ULPI support code rather than implenent
> demanded functionality in the driver.
> However, I've encountered following problems:
> 1. Where should I put this code? Linux kernel has it in ./drivers/usb/otg/
> together with OTG utility code. Use this name looks a bit deceiving for me.
> Should I create some directory named like ./drivers/usb/ulpi/, or is there
> better place?

drivers/usb/ulpi looks ok

> 2. I don't know what to add to the Makefile. Should I create a new config
> option (named CONFIG_ULPI I suppose) or simply add rule for new files?

You definitelly don't want to compile the code in unconditionally.

Anyway, do you really need the linux ulpi code as is or can you implement more 
lightweight thing?

Cheers


More information about the U-Boot mailing list