mbox series

[U-Boot,v2,0/2] Use CONFIG_USB_GADGET and CONFIG_SPL_USB_GADGET to select the USB gadget code

Message ID 20190110144414.24347-1-jjhiblot@ti.com
Headers show
Series Use CONFIG_USB_GADGET and CONFIG_SPL_USB_GADGET to select the USB gadget code | expand

Message

Jean-Jacques Hiblot Jan. 10, 2019, 2:44 p.m. UTC
This series applies on top of u-boot-usb.

This series renames CONFIG_SPL_USB_GADGET_SUPPORT to CONFIG_SPL_USB_GADGET
for consistency.
It also uses CONFIG_USB_GADGET to compile-in the gadget code. This make
sure that the code is not included if it is not needed. Some defconfigs
had to be updated as they relied on the gadget code to be always compiled.


Changes in v2:
- rebased on top of latest u-boot-usb

Jean-Jacques Hiblot (2):
  Kconfig: rename CONFIG_SPL_USB_GADGET_SUPPORT as CONFIG_SPL_USB_GADGET
  usb: Make compiling gadget support optional

 Makefile                                 | 4 ++--
 arch/arm/mach-imx/mx6/Kconfig            | 2 +-
 arch/arm/mach-imx/spl.c                  | 2 +-
 common/spl/Kconfig                       | 4 ++--
 configs/am335x_boneblack_vboot_defconfig | 2 +-
 configs/am335x_evm_usbspl_defconfig      | 2 +-
 configs/am43xx_evm_defconfig             | 2 +-
 configs/am43xx_hs_evm_defconfig          | 2 +-
 configs/apalis_imx6_defconfig            | 2 +-
 configs/cm_t3517_defconfig               | 1 +
 configs/cm_t35_defconfig                 | 1 +
 configs/colibri_imx6_defconfig           | 2 +-
 configs/display5_factory_defconfig       | 2 +-
 configs/duovero_defconfig                | 1 +
 configs/igep0032_defconfig               | 1 +
 configs/igep00x0_defconfig               | 1 +
 configs/imx6q_logic_defconfig            | 2 +-
 configs/mx6memcal_defconfig              | 2 +-
 configs/mx6sabresd_defconfig             | 2 +-
 configs/omap3_zoom1_defconfig            | 1 +
 configs/omap4_panda_defconfig            | 1 +
 configs/omap4_sdp4430_defconfig          | 1 +
 configs/pico-hobbit-imx6ul_defconfig     | 2 +-
 configs/pico-hobbit-imx7d_defconfig      | 2 +-
 configs/pico-imx6ul_defconfig            | 2 +-
 configs/pico-imx7d_defconfig             | 2 +-
 configs/pico-pi-imx6ul_defconfig         | 2 +-
 configs/pico-pi-imx7d_defconfig          | 2 +-
 configs/spear300_usbtty_defconfig        | 2 ++
 configs/spear300_usbtty_nand_defconfig   | 2 ++
 configs/spear310_usbtty_defconfig        | 2 ++
 configs/spear310_usbtty_nand_defconfig   | 2 ++
 configs/spear310_usbtty_pnor_defconfig   | 2 ++
 configs/spear320_usbtty_defconfig        | 2 ++
 configs/spear320_usbtty_nand_defconfig   | 2 ++
 configs/spear320_usbtty_pnor_defconfig   | 2 ++
 configs/spear600_usbtty_defconfig        | 2 ++
 configs/spear600_usbtty_nand_defconfig   | 2 ++
 drivers/Makefile                         | 6 +++---
 drivers/usb/gadget/Makefile              | 2 +-
 scripts/Makefile.spl                     | 2 +-
 41 files changed, 55 insertions(+), 27 deletions(-)

Comments

Lukasz Majewski Jan. 10, 2019, 8:31 p.m. UTC | #1
Hi Marek,

> On 1/10/19 3:44 PM, Jean-Jacques Hiblot wrote:
> > 
> > This series applies on top of u-boot-usb.
> > 
> > This series renames CONFIG_SPL_USB_GADGET_SUPPORT to
> > CONFIG_SPL_USB_GADGET for consistency.
> > It also uses CONFIG_USB_GADGET to compile-in the gadget code. This
> > make sure that the code is not included if it is not needed. Some
> > defconfigs had to be updated as they relied on the gadget code to
> > be always compiled.
> > 
> > 
> > Changes in v2:
> > - rebased on top of latest u-boot-usb  
> Thanks, I picked them into u-boot-usb/master instead of the ones in
> DFU PR.
> 

Great, thanks Marek.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de