Hello to all,

I have a question about "davinci_source_power()" function at
drivers/usb/musb/davinci.c
(http://lxr.linux.no/linux+v2.6.30/drivers/usb/musb/davinci.c#L170).

If I am not wrong, it is using "#ifdef CONFIG_MACH_DAVINCI_EVM" and
"machine_is_davinci_evm()"
macro to conditionally turn VBUS-controlling GPIO on and off,
depending on specific machine being DaVinci EVM.

Our team works on another DaVinci based board - that is based on the
EVM, but has different machine ID and uses
different GPIO for VBUS switching.

If we use "davinci.c" code without a change, it is compiled without
VBUS handling code at all, which is certainly not what we need.
How should we change the code/Makefile/build process to include VBUS
handling for out specific board?

Thanks in advance.

_______________________________________________
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