diff mbox

[U-Boot,2/2] arm: restore fdt_fixup_ethernet call to do_bootm_linux

Message ID 1334869789-32052-2-git-send-email-swarren@wwwdotorg.org
State Accepted
Commit 9e02a6b8e514a3256471a820cdb567668098fa22
Headers show

Commit Message

Stephen Warren April 19, 2012, 9:09 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

Commit 0a672d4 "arm: Add Prep subcommand support to bootm" re-organized
do_bootm_linux for ARM. During the re-organization, the call to
fdt_fixup_ethernet() was removed. I assume this was useful, so add it
back.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/lib/bootm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Tom Rini April 19, 2012, 9:30 p.m. UTC | #1
On 04/19/2012 02:09 PM, Stephen Warren wrote:
> From: Stephen Warren<swarren@nvidia.com>
>
> Commit 0a672d4 "arm: Add Prep subcommand support to bootm" re-organized
> do_bootm_linux for ARM. During the re-organization, the call to
> fdt_fixup_ethernet() was removed. I assume this was useful, so add it
> back.
>
> Signed-off-by: Stephen Warren<swarren@nvidia.com>

Acked-by: Tom Rini <trini@ti.com>
diff mbox

Patch

diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index 95e596a..133b555 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -256,6 +256,7 @@  static int create_fdt(bootm_headers_t *images)
 
 	fdt_chosen(*of_flat_tree, 1);
 	fixup_memory_node(*of_flat_tree);
+	fdt_fixup_ethernet(*of_flat_tree);
 	fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
 
 	return 0;