]> git.sur5r.net Git - u-boot/commit
ARM: socfpga: Repair A10 EMAC reset handling
authorMarek Vasut <marex@denx.de>
Mon, 23 Apr 2018 20:49:31 +0000 (22:49 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 18 May 2018 08:30:46 +0000 (10:30 +0200)
commit32f99757f4af48d1e51fdc8817bfed4337dead42
treeaf4fe597350d22de14cbf14d550efe1b9a25a70b
parent6b49cdd27ed2364543134b12ed6d8351f74b904b
ARM: socfpga: Repair A10 EMAC reset handling

The EMAC reset and PHY mode configuration was never working on the
Arria10 SoC, fix this. This patch pulls out the common code into
misc.c and passes the SoC-specific function call in as a function
pointer.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/mach-socfpga/include/mach/reset_manager.h
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/misc_arria10.c
arch/arm/mach-socfpga/misc_gen5.c