Yes, it is possibe.

You need to make a trick:
alter file drivers/usb/musb/Kconfig
comment a line:
config USB_MUSB_HDRC
    #depends on USB || USB_GADGET

(tested on v1.1)

Then configure, compile an use.

On Fri, 2007-03-23 at 18:18 -0700, Andy Ngo wrote:
> Hi guys,
>  
> On a related USB item, can I built just "one" kernel image that can
> support either host or peripheral modes?  Our hardware
> engineer is planning to use a Xilinx FPGA register to select the
> termination for the USB host/client configuration.  Hence
> we can configure USB for host or client based on the value of the
> register.  We're not using OTG, but just either host or
> peripheral; we don't want 2 separate kernel images one for each mode.
> Is this possible?  We're planning to compile the
> USB-related drivers as modules and just load the ones we need to use
> based on the mode.
>  
> Thanks.
>  
> Regards,
> Andy

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to