Code cleanup
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 @@
 	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 @@
 	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 @@
 #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);
 }
diff --git a/drivers/smc91111.c b/drivers/smc91111.c
index d0cb695..3146ff4 100644
--- a/drivers/smc91111.c
+++ b/drivers/smc91111.c
@@ -1406,9 +1406,6 @@
 
 	if (env_present && rom_valid) {	/* if both env and ROM are good */
 		if (memcmp (v_env_mac, v_rom_mac, 6) != 0) {
-			printf ("\n*** Warning: Environment and ROM MAC addresses don't match\n");
-			printf ("***          Using Environment MAC\n");
-			-----
 			printf ("\nWarning: MAC addresses don't match:\n");
 			printf ("\tHW MAC address:  "
 				"%02X:%02X:%02X:%02X:%02X:%02X\n",
@@ -1421,7 +1418,6 @@
 				v_env_mac[2], v_env_mac[3],
 				v_env_mac[4], v_env_mac[5]) ;
 			debug ("### Set MAC addr from environment\n");
-			memcpy (addr, env_enetaddr, 6);
 		}
 	}
 	memcpy (bd->bi_enetaddr, v_mac, 6);	/* update global address to match env (allows env changing) */