image-fit: Fix compiling error caused by autoconf.h
authorYork Sun <york.sun@nxp.com>
Wed, 23 Nov 2016 17:25:09 +0000 (09:25 -0800)
committerYork Sun <york.sun@nxp.com>
Wed, 23 Nov 2016 18:40:08 +0000 (10:40 -0800)
commit020198b0c7d251cf6bde76024ecf0ee711860534
tree0c9728f23a6a6250ce551ab313baa29df73a6320
parentf9dd8553f31817353f2a04385a1a0909df9670e4
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 <york.sun@nxp.com>
CC: Alison Wang <alison.wang@nxp.com>
common/image-fit.c