u-boot/drivers/usb/gadget
Sam Protsenko de4e4edaff usb: gadget: g_dnl: Sync internal SN variable with env
Since commit 842778a091 ("usb: gadget: g_dnl: only set iSerialNumber
if we have a serial#") "fastboot devices" stopped to show correct device
serial number for TI boards, showing this line instead:

    ????????????	fastboot

This is because serial# env variable could be set after g_dnl gadget was
initialized (e.g. by using env_set() in the board file).

To fix this, let's update internal serial number variable (g_dnl_serial)
when "serial#" env var is changed.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
Tested-by: Heiko Schocher <hs@denx.de>
Acked-by: Łukasz Majewski <lukma@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
2017-09-05 20:17:08 -04:00
..
udc
Kconfig usb: gadget: add SDP driver 2017-08-23 10:41:58 +02:00
Makefile spl: add serial download protocol (SDP) support 2017-08-23 10:41:58 +02:00
at91_udc.c drivers, usb, gadget: fix compiler warnings for at91_udc.c 2017-06-29 10:01:11 -04:00
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
bcm_udc_otg.h
bcm_udc_otg_phy.c
ci_udc.c
ci_udc.h
composite.c
config.c
core.c
designware_udc.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
dwc2_udc_otg.c
dwc2_udc_otg_phy.c
dwc2_udc_otg_priv.h
dwc2_udc_otg_regs.h
dwc2_udc_otg_xfer_dma.c
ep0.c
ep0.h
epautoconf.c
ether.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
f_dfu.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
f_dfu.h
f_fastboot.c fastboot: Ensure we treat CONFIG_FASTBOOT_BUF_ADDR as long 2017-08-22 08:20:02 -04:00
f_mass_storage.c
f_sdp.c usb: gadget: sdp: extend images compatible for jumps 2017-08-23 10:41:58 +02:00
f_thor.c usb: gadget: f_thor: Free the allocated out request buffer 2017-07-28 23:34:38 +02:00
f_thor.h
fotg210.c
g_dnl.c usb: gadget: g_dnl: Sync internal SN variable with env 2017-09-05 20:17:08 -04:00
gadget_chips.h powerpc, 8260: remove support for mpc8260 2017-06-12 08:38:02 -04:00
ndis.h
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
rndis.c
rndis.h
storage_common.c
usbstring.c