summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-15 17:02:31 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:41:23 -0800
commitf33f3e07f3a936fdbf0a81dcdd7ec6a9ba812230 (patch)
tree9a701c1a1f3614e6aacdd839c3f055ebd17a622e /common
parent693d4c9f1dc40fcf24ced459bc4d1b46db33298a (diff)
downloadu-boot-f33f3e07f3a936fdbf0a81dcdd7ec6a9ba812230.tar.gz
u-boot-f33f3e07f3a936fdbf0a81dcdd7ec6a9ba812230.tar.xz
u-boot-f33f3e07f3a936fdbf0a81dcdd7ec6a9ba812230.zip
tools/env: Correct include kconfig
While we move some config macros to Kconfig, kconfig header is needed to avoid compiling error if not already included. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'common')
-rw-r--r--common/env_embedded.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/env_embedded.c b/common/env_embedded.c
index 56a13cb882..b368fdaa80 100644
--- a/common/env_embedded.c
+++ b/common/env_embedded.c
@@ -5,6 +5,8 @@
* SPDX-License-Identifier: GPL-2.0+
*/
+#include <linux/kconfig.h>
+
#ifndef __ASSEMBLY__
#define __ASSEMBLY__ /* Dirty trick to get only #defines */
#endif