linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [dtc] Remove check for linux,platform property in /chosen
@ 2007-01-29  4:30 David Gibson
  2007-01-29 13:49 ` Jon Loeliger
  0 siblings, 1 reply; 2+ messages in thread
From: David Gibson @ 2007-01-29  4:30 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: linuxppc-dev

Jon, please apply:

The linux,platform property in /chosen was obsolete almost as soon as
it was invented.  Remove the check for it from dtc, which just tends
to lead to irritating spurious failures.  

Signed-off-by: David Gibson <dwg@au1.ibm.com>

Index: dtc/livetree.c
===================================================================
--- dtc.orig/livetree.c	2007-01-29 15:16:45.000000000 +1100
+++ dtc/livetree.c	2007-01-29 15:20:43.000000000 +1100
@@ -568,8 +568,6 @@ static int check_chosen(struct node *roo
 		return 0;
 	}
 
-	CHECK_HAVE_ONECELL(chosen, "linux,platform");
-
 	CHECK_HAVE_WARN_STRING(chosen, "bootargs");
 	CHECK_HAVE_WARN_STRING(chosen, "linux,stdout-path");
 	CHECK_HAVE_WARN_PHANDLE(chosen, "interrupt-controller", root);

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dtc] Remove check for linux,platform property in /chosen
  2007-01-29  4:30 [dtc] Remove check for linux,platform property in /chosen David Gibson
@ 2007-01-29 13:49 ` Jon Loeliger
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Loeliger @ 2007-01-29 13:49 UTC (permalink / raw)
  To: David Gibson; +Cc: linuxppc-dev

So, like, the other day David Gibson mumbled:
> Jon, please apply:
> 
> The linux,platform property in /chosen was obsolete almost as soon as
> it was invented.  Remove the check for it from dtc, which just tends
> to lead to irritating spurious failures.  
> 
> Signed-off-by: David Gibson <dwg@au1.ibm.com>

Done.

Thanks,
jdl

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-29 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29  4:30 [dtc] Remove check for linux,platform property in /chosen David Gibson
2007-01-29 13:49 ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).