summaryrefslogtreecommitdiff
path: root/post/cpu/mpc8xx
diff options
context:
space:
mode:
Diffstat (limited to 'post/cpu/mpc8xx')
-rw-r--r--post/cpu/mpc8xx/ether.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/post/cpu/mpc8xx/ether.c b/post/cpu/mpc8xx/ether.c
index fe6c39e..43ea817 100644
--- a/post/cpu/mpc8xx/ether.c
+++ b/post/cpu/mpc8xx/ether.c
@@ -109,14 +109,20 @@ static RTXBD *rtx;
static void scc_init (int scc_index)
{
- bd_t *bd = gd->bd;
uchar ea[6];
- static int proff[] =
- { PROFF_SCC1, PROFF_SCC2, PROFF_SCC3, PROFF_SCC4 };
- static unsigned int cpm_cr[] =
- { CPM_CR_CH_SCC1, CPM_CR_CH_SCC2, CPM_CR_CH_SCC3,
-CPM_CR_CH_SCC4 };
+ static int proff[] = {
+ PROFF_SCC1,
+ PROFF_SCC2,
+ PROFF_SCC3,
+ PROFF_SCC4,
+ };
+ static unsigned int cpm_cr[] = {
+ CPM_CR_CH_SCC1,
+ CPM_CR_CH_SCC2,
+ CPM_CR_CH_SCC3,
+ CPM_CR_CH_SCC4,
+ };
int i;
scc_enet_t *pram_ptr;