usb: musb: add Kconfig options for HOST, GAGDET or DUAL_ROLE modes
This makes building the actual object files optional to the selected mode, which saves users who know which kind of USB mode support they need some binary size. Unimplemented functions are stubbed out with static inline functions. Signed-off-by:Daniel Mack <zonque@gmail.com> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by:
Felipe Balbi <balbi@ti.com>
parent
74c2e936
Please register or sign in to comment