]> git.baikalelectronics.ru Git - uboot.git/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)
commit0bdd87aac1da4a5e01aa4f7cf8d2104be5437132
treeaf4fe597350d22de14cbf14d550efe1b9a25a70b
parent6f1f3cb77f62de1812417d5a5c15a5984562d162
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