Skip to contentSkip to conversation

nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet().

PATCH New Joachim Foerster 2 participants 2 messages Oct 26, 2011 – Oct 31, 2011 NIOS2 architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet().

The main motivation is, to have the local-mac-address property of the ethernet peripherals fixed/synced with U-Boot's environment settings.

---
 arch/nios2/cpu/Makefile |    1 +
 arch/nios2/cpu/fdt.c    |   53 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100644 arch/nios2/cpu/fdt.c
arch/nios2/cpu/Makefile +1 -0
index aa41160..402fd74 100644
@@ -28,6 +28,7 @@ LIB	= $(obj)lib$(CPU).o
 START	= start.o
 SOBJS	= exceptions.o
 COBJS	= cpu.o interrupts.o sysid.o traps.o epcs.o
+COBJS	+= fdt.o
 
 SRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
arch/nios2/cpu/fdt.c new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
1.7.6
Applied
#1 lore raw

PATCH 1/1 nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet().

Quoted 9 lines · Joachim Foerster

The main motivation is, to have the local-mac-address property of the ethernet peripherals fixed/synced with U-Boot's environment settings.

---
  arch/nios2/cpu/Makefile |    1 +
  arch/nios2/cpu/fdt.c    |   53 +++++++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 54 insertions(+), 0 deletions(-)

create mode 100644 arch/nios2/cpu/fdt.c

Hi Joachim,

Applied. Thanks.

Best regards,
Thomas