Revert "s5pc110: mmc: modified moviNAND version"
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 2 Mar 2010 01:22:03 +0000 (10:22 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 2 Mar 2010 01:22:03 +0000 (10:22 +0900)
This reverts commit bd706a17fce83e41e045a5d27f62a88ddfcfb224.

common/cmd_mmc.c
drivers/mmc/mmc.c
include/mmc.h

index 51acd37..530fde5 100644 (file)
@@ -106,7 +106,7 @@ static void print_mmcinfo(struct mmc *mmc)
        printf("Rd Block Len: %d\n", mmc->read_bl_len);
 
        printf("%s version %d.%d\n", IS_SD(mmc) ? "SD" : "MMC",
-                       (mmc->version >> 4) & 0xf, mmc->ext_csd_rev);
+                       (mmc->version >> 4) & 0xf, mmc->version & 0xf);
 
        printf("High Capacity: %s\n", mmc->high_capacity ? "Yes" : "No");
 
index b93068d..6f07aaa 100644 (file)
@@ -392,9 +392,6 @@ int mmc_change_freq(struct mmc *mmc)
        if (err)
                return err;
 
-       /*  Extended CSD revision Number */
-       mmc->ext_csd_rev = ext_csd[192];
-
        if (ext_csd[212] || ext_csd[213] || ext_csd[214] || ext_csd[215])
                mmc->high_capacity = 1;
 
index e785dba..2dc69ab 100644 (file)
@@ -243,7 +243,6 @@ struct mmc {
        void *priv;
        uint voltages;
        uint version;
-       uint ext_csd_rev;
        uint f_min;
        uint f_max;
        int high_capacity;