Skip to content
Snippets Groups Projects
Commit 020198b0 authored by York Sun's avatar York Sun
Browse files

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: default avatarYork Sun <york.sun@nxp.com>
CC: Alison Wang <alison.wang@nxp.com>
parent f9dd8553
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@
#include <time.h>
#else
#include <linux/compiler.h>
#include <linux/kconfig.h>
#include <common.h>
#include <errno.h>
#include <mapmem.h>
......@@ -27,7 +28,6 @@ DECLARE_GLOBAL_DATA_PTR;
#include <u-boot/md5.h>
#include <u-boot/sha1.h>
#include <u-boot/sha256.h>
#include <generated/autoconf.h>
/*****************************************************************************/
/* New uImage format routines */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment