added code to support FEC networking

This commit is contained in:
Markus Fröschle
2013-12-23 12:55:19 +00:00
parent a5e20fdd1c
commit 2763966f4c
11 changed files with 759 additions and 96 deletions

View File

@@ -16,6 +16,7 @@
#include "dma.h"
#include "bas_string.h"
#include "bas_printf.h"
#include "util.h"
#include <stdbool.h>
#if defined(MACHINE_FIREBEE)
@@ -412,8 +413,8 @@ void fec_reset (uint8_t ch)
MCF_FEC_ECR(ch) = MCF_FEC_ECR_RESET;
/* Wait at least 8 clock cycles */
for (i=0; i<10; ++i)
nop();
for (i = 0; i < 10; ++i)
NOP();
}
/********************************************************************/