arm: socfpga: misc: Reset ethernet from OF
Reset the GMAC ethernets based on the "resets" OF node instead of ad-hoc
hardcoded values in the U-Boot code. Since we don't have a proper reset
framework in place yet, we have to do this slightly ad-hoc parsing of the
OF tree instead.
Signed-off-by:
Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Showing
- arch/arm/mach-socfpga/misc.c 49 additions, 19 deletionsarch/arm/mach-socfpga/misc.c
- include/configs/socfpga_arria5.h 0 additions, 1 deletioninclude/configs/socfpga_arria5.h
- include/configs/socfpga_cyclone5.h 0 additions, 1 deletioninclude/configs/socfpga_cyclone5.h
- include/fdtdec.h 1 addition, 0 deletionsinclude/fdtdec.h
- lib/fdtdec.c 1 addition, 0 deletionslib/fdtdec.c
Loading
Please register or sign in to comment