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

bios: Fix build when ethphy is present but ethmac is not.
This commit is contained in:
enjoy-digital 2019-06-13 07:14:03 +02:00 committed by GitHub
commit 113f7f408e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ int main(int i, char **c)
printf("\n");
printf("--========= \e[1mPeripherals init\e[0m ===========--\n");
#ifdef CSR_ETHPHY_CRG_RESET_ADDR
#ifdef CSR_ETHMAC_BASE
eth_init();
#endif
#ifdef CSR_SDRAM_BASE