summaryrefslogtreecommitdiff
path: root/include/configs/mx7_common.h
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-01-14 17:23:36 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:35:55 +0800
commite20226ce2efec65452be1f52343626b99d7479d3 (patch)
tree9cc7705805f9e7a83c37b18390ea038f4c97cadf /include/configs/mx7_common.h
parent4f476f523b275aeb3a9de1ef454d973eaff4d87f (diff)
downloadu-boot-imx-e20226ce2efec65452be1f52343626b99d7479d3.zip
u-boot-imx-e20226ce2efec65452be1f52343626b99d7479d3.tar.gz
u-boot-imx-e20226ce2efec65452be1f52343626b99d7479d3.tar.bz2
MLK-12195 imx: mx6/7 define CONFIG_SYS_VSNPRINTF
Define CONFIG_SYS_VSNPRINTF to use snprintf, but not sprintf. Coverity ID: 17926. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/configs/mx7_common.h')
-rw-r--r--include/configs/mx7_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 8aa7b49..ad3c005 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX7.
*
@@ -10,6 +10,8 @@
#ifndef __MX7_COMMON_H
#define __MX7_COMMON_H
+#define CONFIG_SYS_VSNPRINTF
+
#define CONFIG_BOARD_POSTCLK_INIT
#define CONFIG_MXC_GPT_HCLK