Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c6y1u-0005gR-Vy for mharc-grub-devel@gnu.org; Wed, 16 Nov 2016 06:05:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6y1s-0005gC-8b for grub-devel@gnu.org; Wed, 16 Nov 2016 06:05:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6y1n-0002Zg-A9 for grub-devel@gnu.org; Wed, 16 Nov 2016 06:05:24 -0500 Received: from boksu.net-space.pl ([185.15.1.105]:54816) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1c6y1m-0002ZW-VL for grub-devel@gnu.org; Wed, 16 Nov 2016 06:05:19 -0500 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1667731AbcKPLFQ (ORCPT ); Wed, 16 Nov 2016 12:05:16 +0100 Date: Wed, 16 Nov 2016 12:05:16 +0100 From: Daniel Kiper To: agraf@suse.de, grub-devel@gnu.org Cc: dkiper@net-space.pl, arvidjaar@gmail.com, leif.lindholm@linaro.org Subject: Re: [PATCH 1/2] arm64: Move firmware fdt search into global function Message-ID: <20161116110516.GL16470@router-fw-old.local.net-space.pl> References: <1456701744-202295-1-git-send-email-agraf@suse.de> <77c2cdca-3a1c-f5be-c60e-00a8051d047d@gmail.com> <20161115210022.GG16470@router-fw-old.local.net-space.pl> <40ae70b1-9aeb-1f5c-2cd3-8fef929d9103@suse.de> <20161116102822.GJ16470@router-fw-old.local.net-space.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.15.1.105 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 11:05:25 -0000 On Wed, Nov 16, 2016 at 11:33:26AM +0100, Alexander Graf wrote: > On 16/11/2016 11:28, Daniel Kiper wrote: > >On Tue, Nov 15, 2016 at 10:07:39PM +0100, Alexander Graf wrote: [...] > >>Uh, the point of the function was to share code between 32bit and 64bit > >>arm platforms which are completely separate archs. > >> > >>There's also effort underway to run with device tree on x86: > >> > >> https://plus.google.com/+ChristopherFriedt/posts/SfDifuC1xsR > > > >OK but right know we build FDT code for every EFI platform. This > >is not nice because not every EFI platform uses/knows FDT (at least > >today). So, I think that we should revert that patch and then you > >can provide another patch which puts FDT code in separate file, e.g. > >grub-core/kern/efi/fdt.c build only on platforms supporting FDT. > >Does it make sense? > > It probably makes a lot more sense to move it to that file rather than > revert the patches, as this is patch 1/2 and you would have to revert > the actual 32bit arm enablement as well, breaking bisectability for > 32bit arm. OK, let's go that way. I am waiting for your patch(es). Daniel