nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet().
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.
Signed-off-by Joachim Foerster <[email protected]>
--- 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
@@ -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
Thomas Chou
AppliedPATCH 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.
Signed-off-by Joachim Foerster<[email protected]>--- 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