]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: socfpga: Fix ethernet reset handling
authorMarek Vasut <marex@denx.de>
Thu, 11 Feb 2016 15:36:43 +0000 (16:36 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 24 Feb 2016 18:13:03 +0000 (19:13 +0100)
commite6e34ca3ad43eae88faccb01282385416d23e6e7
tree5d7bec3d027ca8a4880aae3d7dd2eca320c82580
parent80da86642b41cad030a9dd249b91b6949f2e1977
arm: socfpga: Fix ethernet reset handling

The following patch caused cpu_eth_init() to not be called anymore
for DM-capable boards:

commit c32a6fd07b1839e4a45729587ebc8e1c55601a4d
Date:   Sun Jan 17 14:51:56 2016 -0700
    net: Don't call board/cpu_eth_init() with driver model

This breaks ethernet on SoCFPGA, since we use that function to un-reset
the ethernet blocks. Invoke the ethernet reset function from arch_misc_init()
instead to fix the breakage.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Denis Bakhvalov <denis.bakhvalov@nokia.com>
arch/arm/mach-socfpga/misc.c