]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/mmc.c
mmc: extend mmcinfo output to show partition write reliability settings
[karo-tx-uboot.git] / drivers / mmc / mmc.c
index 6fa5435000ef5ee7631288b5f0cfd7fa1cfc819a..19ac4c482fa5d72504513f651f92aae73ccd88a3 100644 (file)
@@ -1306,6 +1306,8 @@ static int mmc_startup(struct mmc *mmc)
                mmc->hc_wp_grp_size = 1024
                        * ext_csd[EXT_CSD_HC_ERASE_GRP_SIZE]
                        * ext_csd[EXT_CSD_HC_WP_GRP_SIZE];
+
+               mmc->wr_rel_set = ext_csd[EXT_CSD_WR_REL_SET];
        }
 
        err = mmc_set_capacity(mmc, mmc->part_num);