powerpc/mpc85xx: Ignore E bit for SVR_SOC_VER()
[oweals/u-boot.git] / board / freescale / mpc8266ads / mpc8266ads.c
index c7fcfe5c0be57d6572d3c9b14478adf16e580456..5d489681842d24816461b60422fa9f21621d5244 100644 (file)
@@ -275,7 +275,6 @@ phys_size_t initdram(int board_type)
        uint sdam;
        uint bsma;
        uint sda10;
-       u_char spd_size;
        u_char data;
        u_char cksum;
        int j;
@@ -292,7 +291,6 @@ phys_size_t initdram(int board_type)
        i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
 
        i2c_read(SDRAM_SPD_ADDR, 0, 1, &data, 1);
-       spd_size = data;
        cksum = data;
        for (j = 1; j < 64; j++) {      /* read only the checksummed bytes */
                /* note: the I2C address autoincrements when alen == 0 */