From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH] devicetree: Remove remaining references/tests for "chosen@0" Date: Sun, 03 Sep 2017 22:02:34 +1000 Message-ID: <1504440154.2250.1.camel@kernel.crashing.org> References: <1504390854.4974.108.camel@kernel.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Robert P. J. Day" Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org, Linux PPC Mailing List List-Id: devicetree@vger.kernel.org On Sun, 2017-09-03 at 06:43 -0400, Robert P. J. Day wrote: > however, given the diff stat of the change to remove every single > reference to that node name in the current kernel source: > > arch/microblaze/kernel/prom.c | 3 +-- > arch/mips/generic/yamon-dt.c | 4 ---- > arch/powerpc/boot/oflib.c | 7 ++----- > drivers/of/base.c | 2 -- > drivers/of/fdt.c | 5 +---- > 5 files changed, 4 insertions(+), 17 deletions(-) > > it seems inconsistent that three architectures would be testing for > that node, but none of the rest. consistency suggests that every > architecture should take it into account, or none should. > > anyway, not a big deal, i'm fine with any decision. powerpc is the only one of the 3 who has an actual open firmware implementation afaik. In any case, I think you can probably remove from microblaze and possibly mips but I'm a bit worried about the generic case and powerpc boot. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html