From: Tanmay Kathpalia Date: Wed, 3 Dec 2025 12:21:35 +0000 (-0800) Subject: mmc: sdhci: Add SDHCI_SPEC_400, _410, and _420 version defines X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f43c7edc61634400c808110081f97e42b63bc6;p=thirdparty%2Fu-boot.git mmc: sdhci: Add SDHCI_SPEC_400, _410, and _420 version defines Add SDHCI_SPEC_400, SDHCI_SPEC_410, and SDHCI_SPEC_420 macros to sdhci.h to support newer SDHCI specification versions. These defines are required for compatibility with controllers implementing SDHCI 4.0 and above. Reference: https://lore.kernel.org/all/1535617305-16952-2-git-send-email-zhang.chunyan@linaro.org/ Signed-off-by: Tanmay Kathpalia Reviewed-by: Balsundar Ponnusamy Reviewed-by: Peng Fan Signed-off-by: Peng Fan --- diff --git a/include/sdhci.h b/include/sdhci.h index d9c0597a0c1..fb847821d58 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -223,6 +223,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 #define SDHCI_GET_VERSION(x) (x->version & SDHCI_SPEC_VER_MASK)