mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/4] initial libfdt support
Date: Tue, 18 Oct 2011 16:39:46 +0200	[thread overview]
Message-ID: <20111018143946.GA31716@game.jcrosoft.org> (raw)
In-Reply-To: <1318939019-32713-2-git-send-email-s.hauer@pengutronix.de>

On 13:56 Tue 18 Oct     , Sascha Hauer wrote:
> vanilla libfdt 1.3.0 from the dtc git:
> 
> git://git.jdl.com/software/dtc.git
> 
> Only small adjustments to compile with barebox
we the previous one hust this patch would have allow to compile in Barebox
IIRC
    libfdt: use linux/types.h for uintptr_t

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 include/libfdt_env.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index 449bf60..e83aa96 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -1,8 +1,7 @@
 #ifndef _LIBFDT_ENV_H
 #define _LIBFDT_ENV_H

-#include <stddef.h>
-#include <stdint.h>
+#include <linux/types.h>
 #include <string.h>

 #define _B(n)  ((unsigned long long)((uint8_t *)&x)[n])

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-10-18 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18 11:56 [PATCH v2] devicetree support Sascha Hauer
2011-10-18 11:56 ` [PATCH 1/4] initial libfdt support Sascha Hauer
2011-10-18 14:39   ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-10-18 11:56 ` [PATCH 2/4] initial oftree command support Sascha Hauer
2011-10-18 11:56 ` [PATCH 3/4] ARM Linux: Add device tree support Sascha Hauer
2011-10-18 11:56 ` [PATCH 4/4] oftree: add fixup for memory nodes Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111018143946.GA31716@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox