Re: [PATCH] net: stmmac: socfpga: add additional ocp reset line for Stratix10
From: David Miller
Date: Wed Jun 20 2018 - 01:35:03 EST
From: Dinh Nguyen <dinguyen@xxxxxxxxxx>
Date: Tue, 19 Jun 2018 10:35:38 -0500
> The Stratix10 platform has an additional reset line, OCP(Open Core Protocol),
> that also needs to get deasserted for the stmmac ethernet controller to work.
> Thus we need to update the Kconfig to include ARCH_STRATIX10 in order to build
> dwmac-socfpga.
>
> Also, remove the redundant check for the reset controller pointer. The
> reset driver already checks for the pointer and returns 0 if the pointer
> is NULL.
>
> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>
Applied.