Commit 0ba4bbcc33d17183202a07a77f41de2fc57eb9f3

Authored by 정준호
1 parent 0fbf1932cd
Exists in master and in 2 other branches fhd, fhd-demo

eMMC v5.1 지원.

bootloader/u-boot_2015_04/drivers/mmc/mmc.c
@@ -1204,6 +1204,9 @@ static int mmc_startup(struct mmc *mmc) @@ -1204,6 +1204,9 @@ static int mmc_startup(struct mmc *mmc)
1204 case 7: 1204 case 7:
1205 mmc->version = MMC_VERSION_5_0; 1205 mmc->version = MMC_VERSION_5_0;
1206 break; 1206 break;
  1207 + case 8:
  1208 + mmc->version = MMC_VERSION_5_1;
  1209 + break;
1207 } 1210 }
1208 1211
1209 /* The partition data may be non-zero but it is only 1212 /* The partition data may be non-zero but it is only
bootloader/u-boot_2015_04/include/mmc.h
@@ -49,6 +49,7 @@ @@ -49,6 +49,7 @@
49 #define MMC_VERSION_4_41 MAKE_MMC_VERSION(4, 4, 1) 49 #define MMC_VERSION_4_41 MAKE_MMC_VERSION(4, 4, 1)
50 #define MMC_VERSION_4_5 MAKE_MMC_VERSION(4, 5, 0) 50 #define MMC_VERSION_4_5 MAKE_MMC_VERSION(4, 5, 0)
51 #define MMC_VERSION_5_0 MAKE_MMC_VERSION(5, 0, 0) 51 #define MMC_VERSION_5_0 MAKE_MMC_VERSION(5, 0, 0)
  52 +#define MMC_VERSION_5_1 MAKE_MMC_VERSION(5, 1, 0)
52 53
53 #define MMC_MODE_HS (1 << 0) 54 #define MMC_MODE_HS (1 << 0)
54 #define MMC_MODE_HS_52MHz (1 << 1) 55 #define MMC_MODE_HS_52MHz (1 << 1)
kernel/linux-imx6_3.14.28/drivers/mmc/core/mmc.c
@@ -294,7 +294,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd) @@ -294,7 +294,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
294 } 294 }
295 295
296 card->ext_csd.rev = ext_csd[EXT_CSD_REV]; 296 card->ext_csd.rev = ext_csd[EXT_CSD_REV];
297 - if (card->ext_csd.rev > 7) { 297 + if (card->ext_csd.rev > 8) {
298 pr_err("%s: unrecognised EXT_CSD revision %d\n", 298 pr_err("%s: unrecognised EXT_CSD revision %d\n",
299 mmc_hostname(card->host), card->ext_csd.rev); 299 mmc_hostname(card->host), card->ext_csd.rev);
300 err = -EINVAL; 300 err = -EINVAL;
release/u-boot.imx
No preview for this file type
release/uImage
No preview for this file type