]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/nds32/lib/board.c
net: Remove the bd* parameter from net stack functions
[karo-tx-uboot.git] / arch / nds32 / lib / board.c
index 2d4c6231a3774114366bed986631bb7a59e98587..24a09bc3c21764d1df50e7bfd0770a6f8821c458 100644 (file)
@@ -255,7 +255,6 @@ void board_init_f(ulong bootflag)
        addr_sp &= ~0x07;
        debug("New Stack Pointer is: %08lx\n", addr_sp);
 
-       gd->bd->bi_baudrate = gd->baudrate;
        /* Ram isn't board specific, so move it to board code ... */
        dram_init_banksize();
        display_dram_config();  /* and display it */
@@ -384,7 +383,7 @@ void board_init_r(gd_t *id, ulong dest_addr)
 #if defined(CONFIG_CMD_NET)
        puts("Net:   ");
 
-       eth_initialize(gd->bd);
+       eth_initialize();
 #if defined(CONFIG_RESET_PHY_R)
        debug("Reset Ethernet PHY\n");
        reset_phy();