summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-11-26 00:36:48 -0800
committerYe Li <ye.li@nxp.com>2018-11-26 01:19:43 -0800
commit5a438e8daa7dfe9ae8c8e782a2656e9329c7d4a1 (patch)
tree3a20253bf1e4e26e0d474aa09d8d8baba67c96f0
parent1143268cc51581470ec3bba99da8c3bb1667ec46 (diff)
MLK-20464 mx7ulp_evk: Fix build warning
Get build warning below because the CONFIG_SERIAL_TAG is not defined. drivers/usb/gadget/f_fastboot.c: In function ‘fastboot_setup’: drivers/usb/gadget/f_fastboot.c:1768:2: warning: ‘serialnr.high’ is used uninitialized in this function [-Wuninitialized] sprintf(serial, "%08x%08x", serialnr.high, serialnr.low); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/gadget/f_fastboot.c:1768:2: warning: ‘serialnr.low’ is used uninitialized in this function [-Wuninitialized] Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--include/configs/mx7ulp_evk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index fd5c6716f77..fb4e244c438 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -31,6 +31,8 @@
#define CONFIG_CMD_FUSE
#define CONFIG_MXC_OCOTP
+#define CONFIG_SERIAL_TAG
+
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC