]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/maxbcm/maxbcm.c
arm: mvebu: maxbcm: Fix compilation warning and add Spansion SPI NOR support
[karo-tx-uboot.git] / board / maxbcm / maxbcm.c
index a833cc3501f4b2c1e4a6e4a7dcfab2ba32c7276a..46b16ac29ccc843aaeeb85c42818d1638aaff9df 100644 (file)
@@ -142,9 +142,7 @@ int checkboard(void)
 /* Configure and enable MV88E6185 switch */
 void reset_phy(void)
 {
-       u16 devadr = CONFIG_PHY_BASE_ADDR;
        char *name = "neta0";
-       u16 reg;
 
        if (miiphy_set_current_dev(name))
                return;