]> git.sur5r.net Git - u-boot/commit
arm: socfpga: misc: Reset ethernet from OF
authorMarek Vasut <marex@denx.de>
Sat, 25 Jul 2015 17:33:56 +0000 (19:33 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:08 +0000 (14:14 +0200)
commit6ab00db226296b9512baf00d1dc1728e599e385d
treea38b71fae189aeff8bef959c7346ed3d24c06568
parente14d3f79282ce7654d2848bb8b8f74a81702fa35
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>
arch/arm/mach-socfpga/misc.c
include/configs/socfpga_arria5.h
include/configs/socfpga_cyclone5.h
include/fdtdec.h
lib/fdtdec.c