Skip to contentSkip to conversation

arm, fdt: update ethernet mac address before booting Linux

PATCH New Heiko Schocher 4 participants 5 messages Sep 15, 2011 – Dec 19, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm, fdt: update ethernet mac address before booting Linux

Cc Albert ARIBAUD <[email protected]>
Cc Gerald van Baren <[email protected]>
---
 arch/arm/lib/bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/lib/bootm.c +2 -0
index 802e833..afa0093 100644
@@ -206,6 +206,8 @@ static int bootm_linux_fdt(int machid, 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);
 
 	announce_and_cleanup();
Signature · 1 line
1.7.6
#1 lore raw

PATCH 1/1 arm, fdt: update ethernet mac address before booting Linux

Hello Albert, Gerald,

Quoted 12 lines · Heiko Schocher
Cc Albert ARIBAUD <[email protected]>
Cc Gerald van Baren <[email protected]>
---
 arch/arm/lib/bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/lib/bootm.c +0 -0
index 802e833..afa0093 100644

arch/arm/lib/bootm.c static int bootm_linux_fdt(int machid, bootm_headers_t *images) · line 213

Quoted 8 lines
arch/arm/lib/bootm.c +2 -0
@@ -206,6 +206,8 @@ static int bootm_linux_fdt(int machid, 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);
 
 	announce_and_cleanup();

Some comments on this patch? Can it go in, in the current release?

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#2 lore raw

PATCH 1/1 arm, fdt: update ethernet mac address before booting Linux

Hi Heiko,

Quoted 18 lines · Heiko Schocher

Hello Albert, Gerald,

Quoted 15 lines · Heiko Schocher
Cc Albert ARIBAUD<[email protected]>
Cc Gerald van Baren<[email protected]>
---
  arch/arm/lib/bootm.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/lib/bootm.c +0 -0
index 802e833..afa0093 100644
@@ -206,6 +206,8 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images)
 
  	fixup_memory_node(*of_flat_tree);
 
Quoted 7 lines

arch/arm/lib/bootm.c static int bootm_linux_fdt(int machid, bootm_headers_t *images) · line 213

Quoted 5 lines
arch/arm/lib/bootm.c +2 -0
+	fdt_fixup_ethernet(*of_flat_tree);
+
  	fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
 
  	announce_and_cleanup();

Some comments on this patch? Can it go in, in the current release?

I would defer to Albert, it is in his domain (ARM).

Quoted 2 lines

bye,
Heiko

Best regards,
gvb

#3 lore raw

PATCH 1/1 arm, fdt: update ethernet mac address before booting Linux

In reply to Heiko Schocher

Dear Heiko Schocher,

Quoted 6 lines · In message <[email protected]> you wrote:
Cc Albert ARIBAUD <[email protected]>
Cc Gerald van Baren <[email protected]>
---
 arch/arm/lib/bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Albert, can you please take this through your tree for -rc2 ?

Thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you can't beat it or corrupt it, you pretend it was your  idea  in
the first place.                 - Terry Pratchett, _Guards! Guards!_
#4 lore raw

PATCH 1/1 arm, fdt: update ethernet mac address before booting Linux

In reply to Heiko Schocher

Hi Heiko,

Le 15/09/2011 07:16, Heiko Schocher a ?crit :

Quoted 12 lines
Cc Albert ARIBAUD<[email protected]>
Cc Gerald van Baren<[email protected]>
---
  arch/arm/lib/bootm.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/lib/bootm.c +0 -0
index 802e833..afa0093 100644

arch/arm/lib/bootm.c static int bootm_linux_fdt(int machid, bootm_headers_t *images) · line 213

Quoted 8 lines
arch/arm/lib/bootm.c +2 -0
@@ -206,6 +206,8 @@ static int bootm_linux_fdt(int machid, 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);
 
  	announce_and_cleanup();

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.