From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alban Subject: Re: [PATCH 02/14] MIPS: ath79: Add basic device tree support Date: Sat, 18 Apr 2015 18:31:49 +0200 Message-ID: <20150418183149.69c0795b@tock> References: <1429280669-2986-1-git-send-email-albeu@free.fr> <1429280669-2986-3-git-send-email-albeu@free.fr> <1429340752.16771.120.camel@x220> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1429340752.16771.120.camel@x220> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Paul Bolle Cc: Aban Bedel , linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Thomas Gleixner , Jason Cooper , Ralf Baechle , Andrew Bresticker , Qais Yousef , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Sat, 18 Apr 2015 09:05:52 +0200 Paul Bolle wrote: > On Fri, 2015-04-17 at 16:24 +0200, Alban Bedel wrote: > > > --- a/arch/mips/ath79/Kconfig > > +++ b/arch/mips/ath79/Kconfig > > > > +choice > > + prompt "Builtin devicetree selection" > > + default DTB_ATH79_NONE > > + help > > + Select the devicetree. > > + > > + config DTB_ATH79_NONE > > + bool "None" > > +endchoice > > This adds a choice block with one config entry. So what this achieves > is that DTB_ATH79_NONE will always be 'y', right? Besides I didn't > notice on a user of CONFIG_DTB_ATH79_NONE. So as far as I can see > this choice has no effect on the build. > > Why was this choice entry added? This menu is for boards that need a built-in DTB, as MIPS currently doesn't support appended DTBs it is the only way to load a DTB on boards stuck with a broken boot loader. But as no board has been added yet it only contain the entry for boards that don't need a built-in DTB, which do nothing as you pointed out. A board is then added in this menu in patch 14, for some reasons git send-email didn't send the whole serie at once :( Alban -- 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