drivers: eth: mcux: Fix wrong base address for second controller

Copy paste error, base address of second controller was set to the
same as the first one, corrected to ENET2.

Signed-off-by: Armand Ciejak <armandciejak@users.noreply.github.com>
This commit is contained in:
Armand Ciejak 2020-03-16 10:50:55 +01:00 committed by Carles Cufí
parent 7f4043099a
commit 309916930f

View file

@ -1149,7 +1149,7 @@ static void eth_0_config_func(void)
static void eth_1_config_func(void);
static struct eth_context eth_1_context = {
.base = ENET,
.base = ENET2,
.config_func = eth_1_config_func,
.phy_addr = 0U,
.phy_duplex = kPHY_FullDuplex,