summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-16 21:07:28 +0000
committerwdenk <wdenk>2003-09-16 21:07:28 +0000
commit34b3049a60a37e180d73332ccddf706c049a0515 (patch)
tree34dcc3a7d162e1e0df4ff5eb65348a76cf21038c /board
parentef709e923038ae702535a3dcbdb45a1b4cd6105c (diff)
downloadu-boot-imx-34b3049a60a37e180d73332ccddf706c049a0515.zip
u-boot-imx-34b3049a60a37e180d73332ccddf706c049a0515.tar.gz
u-boot-imx-34b3049a60a37e180d73332ccddf706c049a0515.tar.bz2
Code cleanup
Diffstat (limited to 'board')
-rw-r--r--board/mpl/vcma9/vcma9.c2
-rw-r--r--board/sixnet/sixnet.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/board/mpl/vcma9/vcma9.c b/board/mpl/vcma9/vcma9.c
index 33cec02..cdf6163 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 63c57c9..42d1497 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);
}