Patchwork [U-Boot] imximage: drop useless config.h include

login
register
mail settings
Submitter Mike Frysinger
Date April 6, 2011, 5:59 p.m.
Message ID <1302112784-30043-1-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/90045/
State Superseded
Delegated to: Wolfgang Denk
Headers show

Comments

Mike Frysinger - April 6, 2011, 5:59 p.m.
The imximage code doesn't actually use any config defines, so it doesn't
need the config.h header.  This also fixes building of tools only when
the tree hasn't been configured for any board.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 tools/imximage.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Mike Frysinger - April 12, 2011, 10:39 p.m.
On Wednesday, April 06, 2011 13:59:44 Mike Frysinger wrote:
> The imximage code doesn't actually use any config defines, so it doesn't
> need the config.h header.  This also fixes building of tools only when
> the tree hasn't been configured for any board.

guess someone already posted a patch to fix this which Wolfgang merged, so 
this can be ignored
-mike

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