From: Jakub NejedlĂ˝ Date: Mon, 19 Aug 2019 11:58:57 +0000 (+0200) Subject: Touch PIN_ETHRST only on TMS570_RPP X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/commitdiff_plain/cc10acc34beaec552d33b704cdfcc70edf439444 Touch PIN_ETHRST only on TMS570_RPP Other boards do not have this pin. --- diff --git a/rpp/src/rpp/eth.c b/rpp/src/rpp/eth.c index 118c06a..de44f07 100644 --- a/rpp/src/rpp/eth.c +++ b/rpp/src/rpp/eth.c @@ -527,7 +527,9 @@ static err_t rpp_eth_hw_init(struct hdkif *hdkif) * We have pull-down resistor, so after reset, we only need * to put ETHRST pin to log. high */ - gio_set(PIN_ETHRST, 1); + #ifdef TARGET_TMS570_RPP + gio_set(PIN_ETHRST, 1); + #endif /* Initialize EMAC control module and EMAC module */ EMACInit(hdkif->emac_ctrl_base, hdkif->emac_base);