diff options
author | Winter Wang <wente.wang@nxp.com> | 2016-09-22 11:03:43 +0800 |
---|---|---|
committer | Winter Wang <wente.wang@nxp.com> | 2016-09-22 12:15:15 +0800 |
commit | c72071f9f9cb87909bc4c4480662aca500aa267c (patch) | |
tree | b8156eb2bcbb4188d7415fac7a47b5fa67b9e2cc | |
parent | a2b5fb188a81337336a4fd0989a00e79fd755e2b (diff) | |
download | u-boot-imx-c72071f9f9cb87909bc4c4480662aca500aa267c.zip u-boot-imx-c72071f9f9cb87909bc4c4480662aca500aa267c.tar.gz u-boot-imx-c72071f9f9cb87909bc4c4480662aca500aa267c.tar.bz2 |
MA-8763 match fastboot and adb serial number
Align the fastboot serialno springf format with
kernel boot cmdline, which is "%08x%08x".
Signed-off-by: Winter Wang <wente.wang@nxp.com>
-rw-r--r-- | drivers/usb/gadget/f_fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 7ece685..8e7425a 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -1623,7 +1623,7 @@ void fastboot_setup(void) char serial[17]; get_board_serial(&serialnr); - sprintf(serial, "%u%u", serialnr.high, serialnr.low); + sprintf(serial, "%08x%08x", serialnr.high, serialnr.low); g_dnl_set_serialnumber(serial); /*execute board relevant initilizations for preparing fastboot */ |