From: Michal Simek Date: Thu, 1 Sep 2016 09:27:32 +0000 (+0200) Subject: ARM64: zynqmp: Record board name as serial number for DFU/FASTBOOT X-Git-Tag: v2017.01-rc1~286 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ecd50c8c92365a8099754da032c882e2a77e3b6;p=u-boot ARM64: zynqmp: Record board name as serial number for DFU/FASTBOOT Signed-off-by: Michal Simek --- diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index b0acaa5b77..7e67288709 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -422,6 +422,10 @@ int board_usb_init(int index, enum usb_init_type init) { debug("%s: index %x\n", __func__, index); +#if defined(CONFIG_USB_GADGET_DOWNLOAD) + g_dnl_set_serialnumber(CONFIG_SYS_CONFIG_NAME); +#endif + switch (index) { case 0: return dwc3_uboot_init(&dwc3_device_data0);