diff mbox

[U-Boot] Drop config.h include in tools/imximage.h

Message ID 1296742021-23999-1-git-send-email-loic.minier@linaro.org
State Accepted
Headers show

Commit Message

Loïc Minier Feb. 3, 2011, 2:07 p.m. UTC
"make tools-all" should allow building tools such as mkimage and the new
imximage without any config, but imximage.c currently fails to build
with:
imximage.h:27:20: error: config.h: No such file or directory

config.h is not needed in imximage.h nor in imximage.c, and imximage.h
is only included from imximage.c, so drop this include to fix the build.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
---
 tools/imximage.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Wolfgang Denk April 12, 2011, 7:14 p.m. UTC | #1
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=,

In message <1296742021-23999-1-git-send-email-loic.minier@linaro.org> you wrote:
> "make tools-all" should allow building tools such as mkimage and the new
> imximage without any config, but imximage.c currently fails to build
> with:
> imximage.h:27:20: error: config.h: No such file or directory
> 
> config.h is not needed in imximage.h nor in imximage.c, and imximage.h
> is only included from imximage.c, so drop this include to fix the build.
> 
> Signed-off-by: Loïc Minier <loic.minier@linaro.org>
> ---
>  tools/imximage.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

Applied,t hanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/tools/imximage.h b/tools/imximage.h
index 38ca6be..d126a46 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -24,8 +24,6 @@ 
 #ifndef _IMXIMAGE_H_
 #define _IMXIMAGE_H_
 
-#include <config.h>
-
 #define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
 #define MAX_HW_CFG_SIZE_V1 60  /* Max number of registers imx can set for v1 */
 #define APP_CODE_BARKER	0xB1