mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
mpc8xx/ether.c: fix warning: unused variable 'bd'
Also minor coding style cleanup. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
2dce551e10
commit
97b05d7d52
1 changed files with 12 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue