use RCCE_barrier instead of a "sleep workaround"
This commit is contained in:
parent
7e3c06f47b
commit
7b9f890c66
1 changed files with 3 additions and 1 deletions
|
@ -464,6 +464,8 @@ err_t rckemacif_init(struct netif* netif)
|
|||
int subdest;
|
||||
int route;
|
||||
|
||||
LWIP_DEBUGF(NETIF_DEBUG, ("Initialize eMAC device...\n"));
|
||||
|
||||
LWIP_ASSERT("netif != NULL", (netif != NULL));
|
||||
|
||||
// Find out who I am...
|
||||
|
@ -639,7 +641,7 @@ err_t rckemacif_init(struct netif* netif)
|
|||
LWIP_DEBUGF(NETIF_DEBUG, (" ADD_FILTER_MOD set: %x\n", add_filter_mod));
|
||||
}
|
||||
|
||||
sleep(3);
|
||||
RCCE_barrier(&RCCE_COMM_WORLD);
|
||||
|
||||
/* Start address */
|
||||
LWIP_DEBUGF(NETIF_DEBUG, (" RX Buffer %p (%lx phys)\n", rckemacif->rx_buffer, virt_to_phys((uint32_t)rckemacif->rx_buffer)));
|
||||
|
|
Loading…
Add table
Reference in a new issue