]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
arm: socfpga: misc: Reset ethernet from OF
authorMarek Vasut <marex@denx.de>
Sat, 25 Jul 2015 17:33:56 +0000 (19:33 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:22 +0000 (08:17 +0200)
commitc64f4419b06138a0c9c9137f46b43cc7ee448e71
treece9c2c8f43061fc43ef39048ee8abf48a68e8938
parent59eca7f35b13a7b289e48ee2e2604c81c76e2aa9
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