Hello All,
I am working on enable ethernet communication in our project. But Eth_43_PFE driver is not getting initialised. After debugging identified as if condition is not getting passed and partitionStat is not setting to True. Please guide me to resolve this issue.
/**
* brief Checks the access to the controller
* details This function is intended to check whether the controller can be accessed or not by reading clock partition enable bit (partition 2 for PFE),
the field PCS. The capability to access the controller will be similar to the return value.
* return Controller accessibility
* retval TRUE Controller is accessible
* retval FALSE Controller access failed
*/
boolean Eth_PFE_LLD_CheckAccessToController(void)
{
boolean partitionStat = FALSE;
if(MC_ME_PRTN_STAT_PCS == (hal_read32(MC_ME_BASE + MC_ME_PRTN2_STAT) & MC_ME_PRTN_STAT_PCS))
{
partitionStat = TRUE;
}
return partitionStat;
}
.