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 11:14:38 +0800 |
commit | 503017ae2f874e49fb20299365bd1ab202040922 (patch) | |
tree | b773ae259c8cfec554e6da215d77b25386834265 | |
parent | 5249e804483a8c3b7807d8bbb7371308be9f2dea (diff) | |
download | u-boot-imx-503017ae2f874e49fb20299365bd1ab202040922.zip u-boot-imx-503017ae2f874e49fb20299365bd1ab202040922.tar.gz u-boot-imx-503017ae2f874e49fb20299365bd1ab202040922.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 4615cef..89b5f24 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -1556,7 +1556,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 */ |