]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/r0p7734/r0p7734.c
i2c: Drop use of CONFIG_I2C_HARD
[people/ms/u-boot.git] / board / renesas / r0p7734 / r0p7734.c
index 360e0a1a6fd051443a47e66667ad30b564d24699..d0b453751333c314ddbc178cced1f16ed32752a6 100644 (file)
@@ -44,17 +44,7 @@ int board_init(void)
 
 int board_late_init(void)
 {
-       u8 mac[6];
-
-       /* Read Mac Address and set*/
-       i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
-       i2c_set_bus_num(CONFIG_SYS_I2C_MODULE);
-
-       /* Read MAC address */
-       i2c_read(0x50, 0x10, 0, mac, 6);
-
-       if (is_valid_ethaddr(mac))
-               eth_setenv_enetaddr("ethaddr", mac);
+       printf("Cannot get MAC address from I2C\n");
 
        return 0;
 }