From 34b3049a60a37e180d73332ccddf706c049a0515 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 16 Sep 2003 21:07:28 +0000 Subject: Code cleanup --- board/mpl/vcma9/vcma9.c | 2 ++ board/sixnet/sixnet.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'board') diff --git a/board/mpl/vcma9/vcma9.c b/board/mpl/vcma9/vcma9.c index 33cec02529..cdf6163c8c 100644 --- a/board/mpl/vcma9/vcma9.c +++ b/board/mpl/vcma9/vcma9.c @@ -218,6 +218,7 @@ static u8 Get_PLD_Revision(void) return(Get_PLD_ID() & 0x0F); } +#if 0 /* not used */ static int Get_Board_Config(void) { u8 config = Get_PLD_BOARD() & 0x03; @@ -227,6 +228,7 @@ static int Get_Board_Config(void) else return 0; } +#endif static uchar Get_Board_PCB(void) { diff --git a/board/sixnet/sixnet.c b/board/sixnet/sixnet.c index 63c57c93f9..42d1497040 100644 --- a/board/sixnet/sixnet.c +++ b/board/sixnet/sixnet.c @@ -330,7 +330,7 @@ int misc_init_r (void) #if (CONFIG_COMMANDS & CFG_CMD_NAND) void nand_init(void) { - unsigned long totlen = nand_probe(CFG_NAND_BASE); + unsigned long totlen = nand_probe(CFG_DFLASH_BASE); printf ("%4lu MB\n", totlen >> 20); } -- cgit