From: Chunyan Zhang Date: Thu, 30 Aug 2018 08:21:37 +0000 (+0800) Subject: mmc: sdhci: Add version V4 definition X-Git-Tag: v5.4-rc1~2435^2~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18da1990d2ddc7a5a18bc22defd123edd3e9aa13;p=platform%2Fkernel%2Flinux-rpi.git mmc: sdhci: Add version V4 definition Added definitions for v400, v410, v420. Signed-off-by: Chunyan Zhang Acked-by: Adrian Hunter Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index b62c144..f22a89b 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -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); } diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 4aa7eb0..3f4f4cf 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -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.