Skip to contentSkip to conversation

imximage: drop useless config.h include

PATCH New Mike Frysinger 1 participant 2 messages Apr 6, 2011 – Apr 12, 2011 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imximage: drop useless config.h include

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.

---
 tools/imximage.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
tools/imximage.h +0 -2
index 38ca6be..d126a46 100644
@@ -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
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 imximage: drop useless config.h include

Quoted 3 lines · 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110412/7fb2ce22/attachment.pgp