From: York Sun Date: Wed, 23 Nov 2016 11:09:25 -0800 Subject: [U-Boot] [PATCH] image-fit: Fix compiling error caused by autoconf.h In-Reply-To: <1479928165-3313-1-git-send-email-york.sun@nxp.com> References: <1479928165-3313-1-git-send-email-york.sun@nxp.com> Message-ID: <1479928165-3313-2-git-send-email-york.sun@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Commit ec6617c3 includes autoconf.h in image-fit.c, causing conflict for board odroid-xu3 which overwrites CONFIG_SYS_BOARD in header file. Move the include higher and use linux/kconfig.h instead of generated/autoconf.h. Signed-off-by: York Sun CC: Alison Wang --- common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index ea56d5b..9468e51 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -14,6 +14,7 @@ #include #else #include +#include #include #include #include @@ -27,7 +28,6 @@ DECLARE_GLOBAL_DATA_PTR; #include #include #include -#include /*****************************************************************************/ /* New uImage format routines */ -- 2.7.4