]> git.sur5r.net Git - u-boot/blobdiff - include/tsec.h
cfi_flash: Remove assignments from if conditions
[u-boot] / include / tsec.h
index 88ce964fd910526d30049c3876fd5efdfdd8c5c1..e99a7fa8782f9db5826f44d5d884167fcd1e0f0b 100644 (file)
@@ -20,7 +20,7 @@
 
 #ifndef CONFIG_DM_ETH
 
-#ifdef CONFIG_LS102XA
+#ifdef CONFIG_ARCH_LS1021A
 #define TSEC_SIZE              0x40000
 #define TSEC_MDIO_OFFSET       0x40000
 #else
@@ -402,6 +402,7 @@ struct tsec_private {
        phy_interface_t interface;
        struct mii_dev *bus;
        uint phyaddr;
+       uint tbiaddr;
        char mii_devname[16];
        u32 flags;
        uint rx_idx;    /* index of the current RX buffer */