From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luka Perkov Date: Mon, 14 Oct 2013 11:40:10 +0200 Subject: [U-Boot] [PATCH] kirkwood: ib62x0: use device tree and update config In-Reply-To: References: <1381718283-8387-1-git-send-email-luka@openwrt.org> Message-ID: <20131014094009-9214@mutt-kz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On Sun, Oct 13, 2013 at 11:41:44PM -0300, Fabio Estevam wrote: > On Sun, Oct 13, 2013 at 11:38 PM, Luka Perkov wrote: > > /* > > - * Machine type > > + * Enable device tree support > > */ > > -#define CONFIG_MACH_TYPE MACH_TYPE_NAS6210 > > +#define CONFIG_OF_LIBFDT > > I am not familiar with this platform, but couldn't you also keep > CONFIG_MACH_TYPE ? > > This way people have the option to load both dt and non-dt kernels. Upstream uses only DT. When uboot support was pushed we had non-DT kernel patches that were never merged upstream. IMO we should just drop CONFIG_MACH_TYPE and use CONFIG_OF_LIBFDT. Luka