[U-Boot] [PATCH v2 09/14] sunxi: imply USB_GADGET

Chen-Yu Tsai wens at csie.org
Fri Sep 22 03:20:33 UTC 2017


On Wed, Sep 13, 2017 at 3:01 AM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> A good number of our boards have USB_GADGET enabled. Imply it so that all
> the boards can benefit from it, and remove some boilerplate from our
> defconfigs.
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

This breaks builds using defconfigs where USB_MUSB_GADGET is not set.
Perhaps a better solution would be to imply USB_GADGET from USB_MUSB_GADGET?
Kconfig complains about recursive dependencies if I do

    imply USB_GADGET if USB_MUSB_GADGET

under ARCH_SUNXI though.

ChenYu


More information about the U-Boot mailing list