From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 4 Oct 2012 16:40:05 +0200 Subject: [U-Boot] [PATCH] arm: Add CONFIG_OF_BOARD_SETUP support to bootm In-Reply-To: <1345235330-14366-1-git-send-email-joe.hershberger@ni.com> References: <1345235330-14366-1-git-send-email-joe.hershberger@ni.com> Message-ID: <20121004164005.3dc0cd20@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Joe, On Fri, 17 Aug 2012 15:28:50 -0500, Joe Hershberger wrote: > ARM boards need to change device tree settings as well > > Signed-off-by: Joe Hershberger > --- > arch/arm/lib/bootm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c > index 599547d..2e0b0c1 100644 > --- a/arch/arm/lib/bootm.c > +++ b/arch/arm/lib/bootm.c > @@ -258,6 +258,9 @@ static int create_fdt(bootm_headers_t *images) > fixup_memory_node(*of_flat_tree); > fdt_fixup_ethernet(*of_flat_tree); > fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1); > +#ifdef CONFIG_OF_BOARD_SETUP > + ft_board_setup(*of_flat_tree, gd->bd); > +#endif > > return 0; > } Applied to u-boot-arm/master, thanks! Amicalement, -- Albert.