Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18da1990 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Ulf Hansson
Browse files

mmc: sdhci: Add version V4 definition



Added definitions for v400, v410, v420.

Signed-off-by: default avatarChunyan Zhang <zhang.chunyan@linaro.org>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent e5378247
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3524,7 +3524,7 @@ int sdhci_setup_host(struct sdhci_host *host)

	override_timeout_clk = host->timeout_clk;

	if (host->version > SDHCI_SPEC_300) {
	if (host->version > SDHCI_SPEC_420) {
		pr_err("%s: Unknown controller version (%d). You may experience problems.\n",
		       mmc_hostname(mmc), host->version);
	}
+3 −0
Original line number Diff line number Diff line
@@ -270,6 +270,9 @@
#define   SDHCI_SPEC_100	0
#define   SDHCI_SPEC_200	1
#define   SDHCI_SPEC_300	2
#define   SDHCI_SPEC_400	3
#define   SDHCI_SPEC_410	4
#define   SDHCI_SPEC_420	5

/*
 * End of controller registers.