mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-26 08:41:54 +00:00
21 lines
753 B
Text
21 lines
753 B
Text
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
|
|
index 5352cd7..2690b64 100644
|
|
--- a/drivers/mmc/core/mmc.c
|
|
+++ b/drivers/mmc/core/mmc.c
|
|
@@ -481,6 +481,8 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
|
|
|
if (card->ext_csd.rev >= 5) {
|
|
/* check whether the eMMC card supports HPI */
|
|
+#if 0
|
|
+// comment for emmc HPI patch
|
|
if (ext_csd[EXT_CSD_HPI_FEATURES] & 0x1) {
|
|
card->ext_csd.hpi = 1;
|
|
if (ext_csd[EXT_CSD_HPI_FEATURES] & 0x2)
|
|
@@ -495,6 +497,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
|
ext_csd[EXT_CSD_OUT_OF_INTERRUPT_TIME] * 10;
|
|
}
|
|
|
|
+#endif
|
|
card->ext_csd.rel_param = ext_csd[EXT_CSD_WR_REL_PARAM];
|
|
card->ext_csd.rst_n_function = ext_csd[EXT_CSD_RST_N_FUNCTION];
|
|
}
|