mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/4] of: Also print disabled nodes
Date: Thu, 30 May 2013 12:44:51 +0200	[thread overview]
Message-ID: <1369910694-20991-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1369910694-20991-1-git-send-email-s.hauer@pengutronix.de>

It's confusing to set the status of a node to disabled and afterwards
it's invisible. Similarly it's confusing to be able to enable invisible
nodes.

Also print disabled nodes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/of/base.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 8383549..9c04c78 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -663,9 +663,6 @@ void of_print_nodes(struct device_node *node, int indent)
 	if (!node)
 		return;
 
-	if (of_node_disabled(node))
-		return;
-
 	for (i = 0; i < indent; i++)
 		printf("\t");
 
-- 
1.8.2.rc2


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

  reply	other threads:[~2013-05-30 10:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 10:44 [PATCH] OF updates Sascha Hauer
2013-05-30 10:44 ` Sascha Hauer [this message]
2013-05-30 10:44 ` [PATCH 2/4] of: remove unused define Sascha Hauer
2013-05-30 10:44 ` [PATCH 3/4] bootm: make sure to print fixed oftree Sascha Hauer
2013-05-30 10:44 ` [PATCH 4/4] bootm: print Kernel commandline in verbose mode 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=1369910694-20991-2-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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