Unverified Commit 113f7f40 authored by enjoy-digital's avatar enjoy-digital Committed by GitHub

Merge pull request #199 from ambrop72/no-ethmac-fix

bios: Fix build when ethphy is present but ethmac is not.
parents ab1f5804 ca70ea91
...@@ -433,7 +433,7 @@ int main(int i, char **c) ...@@ -433,7 +433,7 @@ int main(int i, char **c)
printf("\n"); printf("\n");
printf("--========= \e[1mPeripherals init\e[0m ===========--\n"); printf("--========= \e[1mPeripherals init\e[0m ===========--\n");
#ifdef CSR_ETHPHY_CRG_RESET_ADDR #ifdef CSR_ETHMAC_BASE
eth_init(); eth_init();
#endif #endif
#ifdef CSR_SDRAM_BASE #ifdef CSR_SDRAM_BASE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment