i.MX7ULP EMMC 5.1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX7ULP EMMC 5.1

948 次查看
ATAineri
Contributor III

Good afternoon, dear NXP! Can you tell me something about i.mx7ulp emmc 5.1 supporting? I faced a problem that there is no emmc 5.0 chips is available longer. So I can base my device only on EMMC 5.1 but there is no information about 7ULP EMMC 5.1 supporting - only 5.0...

标签 (2)
标记 (4)
0 项奖励
回复
1 回复

935 次查看
joanxie
NXP TechSupport
NXP TechSupport

current bsp supports emmc 5.1 already, you can find the source code from:

"https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/mmc/core/mmc.c?h=imx_5.4.70_2.3.0"

 

/* eMMC v5.1 or later */
	if (card->ext_csd.rev >= 8) {
		card->ext_csd.cmdq_support = ext_csd[EXT_CSD_CMDQ_SUPPORT] &
					     EXT_CSD_CMDQ_SUPPORTED;
		card->ext_csd.cmdq_depth = (ext_csd[EXT_CSD_CMDQ_DEPTH] &
					    EXT_CSD_CMDQ_DEPTH_MASK) + 1;
		/* Exclude inefficiently small queue depths */
		if (card->ext_csd.cmdq_depth <= 2) {
			card->ext_csd.cmdq_support = false;
			card->ext_csd.cmdq_depth = 0;
		}
		if (card->ext_csd.cmdq_support) {
			pr_debug("%s: Command Queue supported depth %u\n",
				 mmc_hostname(card->host),
				 card->ext_csd.cmdq_depth);
		}
	}

0 项奖励
回复