diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/mpl/vcma9/vcma9.c | 2 | ||||
-rw-r--r-- | board/sixnet/sixnet.c | 2 |
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); } |