[U-Boot-Users] RFC: make new image support mandatory

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Thu Mar 27 09:12:40 CET 2008


On Wed, 26 Mar 2008 17:31:40 +0100
Bartlomiej Sieka <tur at semihalf.com> wrote:

> BTW: were you able to compile the tools/ directory for the above board?
> If yes, what were the differences versus the failing build you posted in
> your other email?

Ah, sorry. I sent a patch, but didn't realize it went only to Wolfgang.
Here it is.

Haavard

From b69cca7525e66808fed7fcd04e74900a2fb6db91 Mon Sep 17 00:00:00 2001
From: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Date: Wed, 26 Mar 2008 16:56:12 +0100
Subject: [PATCH] Fix host tool build breakage

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
---
 include/fdt.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/fdt.h b/include/fdt.h
index 48ccfd9..39beada 100644
--- a/include/fdt.h
+++ b/include/fdt.h
@@ -3,6 +3,10 @@
 
 #ifndef __ASSEMBLY__
 
+#ifdef USE_HOSTCC
+#include <stdint.h>
+#endif
+
 struct fdt_header {
 	uint32_t magic;			 /* magic word FDT_MAGIC */
 	uint32_t totalsize;		 /* total size of DT block */
-- 
1.5.4.3





More information about the U-Boot mailing list