mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: barebox <barebox@lists.infradead.org>
Subject: Re: dt-bindings status
Date: Mon, 18 Nov 2013 14:01:59 +0100	[thread overview]
Message-ID: <20131118130158.GK17135@pengutronix.de> (raw)
In-Reply-To: <527CDE8B.8000003@gmail.com>

On Fri, Nov 08, 2013 at 01:52:27PM +0100, Sebastian Hesselbarth wrote:
> On 11/06/13 10:57, Sascha Hauer wrote:
> >On Wed, Nov 06, 2013 at 01:01:59PM +0400, Alexander Shiyan wrote:
> >>Hello.
> >>
> >>DTS files from the current kernel require "include/dt-bindings".
> >>Are there plans to add these parts of the kernel tree in the barebox?
> >>Thanks.
> >
> >We should add this for barebox aswell once we need it. Right now I
> >haven't missed it. If you need it feel free to add it.
> 
> I miss it! :)
> 
> I haven't found a way to tell dtc's cpp that those includes are in
> include/dt-bindings, but I didn't look very hard.

I just found out:

From 3808314a4014c201e4047ddf44187fadcedaaebd Mon Sep 17 00:00:00 2001
From: Sascha Hauer <s.hauer@pengutronix.de>
Date: Mon, 18 Nov 2013 13:59:17 +0100
Subject: [PATCH] ARM: dtb: create dt-bindings link

For making #include <dt-bindings/...> work

We already have the necessary -I flag in dtc_cpp_flags, no nothing
needs to be done here.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/dts/include/dt-bindings | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 arch/arm/dts/include/dt-bindings

diff --git a/arch/arm/dts/include/dt-bindings b/arch/arm/dts/include/dt-bindings
new file mode 120000
index 0000000..0cecb3d
--- /dev/null
+++ b/arch/arm/dts/include/dt-bindings
@@ -0,0 +1 @@
+../../../../include/dt-bindings
\ No newline at end of file
-- 
1.8.4.2

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

      reply	other threads:[~2013-11-18 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06  9:01 Alexander Shiyan
2013-11-06  9:57 ` Sascha Hauer
2013-11-08 12:52   ` Sebastian Hesselbarth
2013-11-18 13:01     ` Sascha Hauer [this message]

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=20131118130158.GK17135@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=sebastian.hesselbarth@gmail.com \
    /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