1 comment:
File src/mainboard/sifive/hifive-unleashed/romstage.c:
nsleep(2000000);
__sync_fetch_and_or(&GPIO_REG(GPIO_OUTPUT_VAL), PHY_NRESET);
__sync_fetch_and_or(&GPIO_REG(GPIO_OUTPUT_EN), PHY_NRESET);
nsleep(100);
__sync_fetch_and_and(&GPIO_REG(GPIO_OUTPUT_VAL), ~PHY_NRESET);
nsleep(100);
__sync_fetch_and_or(&GPIO_REG(GPIO_OUTPUT_VAL), PHY_NRESET);
nsleep(15000000);
}
Is it necessary to do the PHY reset in coreboot, at all? […]
This is necessary, if you remove the code sifive provides linux can not identify the network card
To view, visit change 31059. To unsubscribe, or for help writing mail filters, visit settings.