]> git.sur5r.net Git - u-boot/blobdiff - board/BuS/eb_cpux9k2/cpux9k2.c
net: Remove the bd* parameter from net stack functions
[u-boot] / board / BuS / eb_cpux9k2 / cpux9k2.c
index 9fd8e7acd166c04575d3e8c6b3e7bf0c7abb9382..3880a0689723cb34d3815927c8458d4525e05b78 100644 (file)
@@ -98,7 +98,7 @@ int misc_init_r(void)
                                puts("Error: invalid MAC at EEPROM\n");
                }
        }
-       gd->jt[XF_do_reset] = (void *) do_reset;
+       gd->jt->do_reset = do_reset;
 
 #ifdef CONFIG_STATUS_LED
        status_led_set(STATUS_LED_BOOT, STATUS_LED_BLINKING);
@@ -111,7 +111,7 @@ int misc_init_r(void)
 void reset_phy(void)
 {
        udelay(10000);
-       eth_init(gd->bd);
+       eth_init();
 }
 #endif
 
@@ -272,7 +272,7 @@ int drv_video_init(void)
 }
 #endif
 
-#ifdef CONFIG_SOFT_I2C
+#ifdef CONFIG_SYS_I2C_SOFT
 
 void i2c_init_board(void)
 {