On 03/27/2013 02:35 AM, Peter Chen wrote: > On Tue, Mar 26, 2013 at 12:35:44PM +0200, Alexander Shishkin wrote: >> >> I'm thinking now that what Felipe suggests is probably the best at least >> for the time being. That is, if we don't want host, for example, in the >> product build, we just compile it out. And then we expect the dr_mode to >> be "otg" if we want to be able to access otgsc, but no role changes will >> happen, since only peripheral is compiled in. >> > > This is just one requirement, another requirement is we want one kernel image > to support as many as boards (of cos, DT is different). > > Kernel supports all functions, DT choose which one is used. ACK, but this functionality is already supported by dr_mode. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature