summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHan Xu <[email protected]>2026-02-25 15:13:32 -0600
committerPeng Fan <[email protected]>2026-03-23 11:27:52 +0800
commit67fc505228558efa19380542d801807fa9eee054 (patch)
treefb2924ca8b8953eed2e8b124f6a4f71775dfed56 /include
parenteb00c710508d09b2a3b9aca75dd18280f1304703 (diff)
mmc: Add support for eMMC 5.1B specification
Add support for eMMC specification version 5.1B by defining MMC_VERSION_5_1B and including it in the version array. eMMC 5.1B (JESD84-B51B) is a minor revision of the 5.1 specification that primarily addresses MDT (Manufacturing Date) adjustment for dates beyond 2025. This aligns with the Linux kernel commit 9996707822f82 ("mmc: core: Adjust MDT beyond 2025"). Since the manufacturing date field is not currently used in U-Boot, this change has no functional impact beyond proper device recognition. It allows the driver to correctly identify and initialize eMMC devices that report version 5.1B in their Extended CSD register. Signed-off-by: Han Xu <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 51d3f2f8dd5..9509c9e9543 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -54,6 +54,7 @@ struct bd_info;
#define MMC_VERSION_4_5 MAKE_MMC_VERSION(4, 5, 0)
#define MMC_VERSION_5_0 MAKE_MMC_VERSION(5, 0, 0)
#define MMC_VERSION_5_1 MAKE_MMC_VERSION(5, 1, 0)
+#define MMC_VERSION_5_1B MAKE_MMC_VERSION(5, 1, 0xB)
#define MMC_CAP(mode) (1 << mode)
#define MMC_MODE_HS (MMC_CAP(MMC_HS) | MMC_CAP(SD_HS))