From: York Sun Date: Wed, 23 Nov 2016 17:25:09 +0000 (-0800) Subject: image-fit: Fix compiling error caused by autoconf.h X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=020198b0c7d251cf6bde76024ecf0ee711860534;p=u-boot.git image-fit: Fix compiling error caused by autoconf.h 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 --- diff --git a/common/image-fit.c b/common/image-fit.c index ea56d5bd7a..9468e519db 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 */