summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r--drivers/mmc/mmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 2edce1866f..d130c9af2f 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -971,13 +971,14 @@ static int mmc_read_ext_csd(struct mmc *host)
ext_csd_struct = ext_csd[EXT_CSD_REV];
host->ext_csd.boot_size_multi = ext_csd[BOOT_SIZE_MULTI];
-
+#if !defined(CONFIG_HKDK4412)
if (ext_csd_struct > 7) {
printf("unrecognised EXT_CSD structure "
"version %d\n", ext_csd_struct);
err = -1;
goto out;
}
+#endif
if (ext_csd_struct >= 2) {
host->ext_csd.sectors =