mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +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)
|
static void scc_init (int scc_index)
|
||||||
{
|
{
|
||||||
bd_t *bd = gd->bd;
|
|
||||||
uchar ea[6];
|
uchar ea[6];
|
||||||
|
|
||||||
static int proff[] =
|
static int proff[] = {
|
||||||
{ PROFF_SCC1, PROFF_SCC2, PROFF_SCC3, PROFF_SCC4 };
|
PROFF_SCC1,
|
||||||
static unsigned int cpm_cr[] =
|
PROFF_SCC2,
|
||||||
{ CPM_CR_CH_SCC1, CPM_CR_CH_SCC2, CPM_CR_CH_SCC3,
|
PROFF_SCC3,
|
||||||
CPM_CR_CH_SCC4 };
|
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;
|
int i;
|
||||||
scc_enet_t *pram_ptr;
|
scc_enet_t *pram_ptr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue