public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: Add CONFIG_OF_BOARD_SETUP support to bootm
@ 2012-08-17 20:28 Joe Hershberger
  2012-10-04 14:40 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Hershberger @ 2012-08-17 20:28 UTC (permalink / raw)
  To: u-boot

ARM boards need to change device tree settings as well

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---
 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;
 }
-- 
1.7.11.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] arm: Add CONFIG_OF_BOARD_SETUP support to bootm
  2012-08-17 20:28 [U-Boot] [PATCH] arm: Add CONFIG_OF_BOARD_SETUP support to bootm Joe Hershberger
@ 2012-10-04 14:40 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2012-10-04 14:40 UTC (permalink / raw)
  To: u-boot

Hi Joe,

On Fri, 17 Aug 2012 15:28:50 -0500, Joe Hershberger
<joe.hershberger@ni.com> wrote:

> ARM boards need to change device tree settings as well
> 
> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
> ---
>  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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-04 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 20:28 [U-Boot] [PATCH] arm: Add CONFIG_OF_BOARD_SETUP support to bootm Joe Hershberger
2012-10-04 14:40 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox