[U-Boot] [PATCH] usb: gadget: Disable gadget options in SPL

Tom Rini trini at konsulko.com
Mon Apr 18 19:37:15 CEST 2016


On Fri, Apr 15, 2016 at 05:40:56PM +0300, Sam Protsenko wrote:

> During Kconfig migrating process we missed to check some gadget options
> for SPL_BUILD. Do it now to properly disable gadget in SPL build for
> those platforms that disabled it before migrating options to Kconfig.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> ---
>  include/configs/am43xx_evm.h              |  1 +
>  include/configs/mx6sabre_common.h         | 11 +++++++++++
>  include/configs/siemens-am33x-common.h    | 10 ++++++++++
>  include/configs/smartweb.h                |  9 +++++++++
>  include/configs/tegra-common-usb-gadget.h | 11 +++++++++++
>  5 files changed, 42 insertions(+)

I don't quite understand why we need to do this.  For SPL, if we build
stuff we don't need it will get discarded at link time.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160418/12ffe548/attachment.sig>


More information about the U-Boot mailing list