Hi Geert, Thank you! Applied. Chris On Thu, Jul 04, 2019 1, Geert Uytterhoeven wrote: > When SW6-4 is switched off, the first Ethernet port is not available, > and thus doesn't work. Hence fall back to using the second port > instead. > > This allows to use TFTP when SDRAM is enabled (RZA2M_ENABLE_SDRAM is > defined), and the serial console is moved to SCIF2. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > --- > include/configs/rza2mevb.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/rza2mevb.h b/include/configs/rza2mevb.h > index 7ac9b8f80e329288..a217d668eedae631 100644 > --- a/include/configs/rza2mevb.h > +++ b/include/configs/rza2mevb.h > @@ -216,7 +216,11 @@ > /* Network interface */ > #if (SW6_4 == SW_ON) || (SW6_5 == SW_ON) > #define CONFIG_SH_ETHER > +#if (SW6_4 == SW_ON) > #define CONFIG_SH_ETHER_USE_PORT 0 > +#else > +#define CONFIG_SH_ETHER_USE_PORT 1 > +#endif > #define CONFIG_SH_ETHER_PHY_ADDR 0 > #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII > #define CONFIG_PHYLIB > -- > 2.17.1