changed board in makefile, added default make target, removed hacks in hal_mac_lld.c
This commit is contained in:
parent
c07f995cae
commit
d18e1c5b39
2 changed files with 11 additions and 7 deletions
|
|
@ -270,11 +270,11 @@ void mac_lld_init(void) {
|
|||
rccEnableETH(false);
|
||||
|
||||
/* PHY address setup.*/
|
||||
//#if defined(BOARD_PHY_ADDRESS)
|
||||
#if defined(BOARD_PHY_ADDRESS)
|
||||
ETHD1.phyaddr = 0 << 11;
|
||||
//#else
|
||||
// mii_find_phy(ÐD1);
|
||||
//#endif
|
||||
#else
|
||||
mii_find_phy(ÐD1);
|
||||
#endif
|
||||
|
||||
#if defined(BOARD_PHY_RESET)
|
||||
/* PHY board-specific reset procedure.*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue