[Concept,2/4] bloblist: Add tag for MMC clock rate handoff

Message ID 20260329122222.3533806-3-sjg@u-boot.org
State New
Headers
Series vbe: Fix MMC clock handoff for VPL on rk3399 |

Commit Message

Simon Glass March 29, 2026, 12:22 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Add BLOBLISTT_U_BOOT_MMC_CLK to allow passing the MMC source clock
rate between boot phases. This is needed when a phase configures the
clock (e.g. TPL with the CLK framework) but a later phase must use
the same rate without CLK support (e.g. VPL).

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 common/bloblist.c  | 1 +
 include/bloblist.h | 1 +
 2 files changed, 2 insertions(+)
  

Patch

diff --git a/common/bloblist.c b/common/bloblist.c
index e5fa67b0f71..1f2ca5f25ef 100644
--- a/common/bloblist.c
+++ b/common/bloblist.c
@@ -64,6 +64,7 @@  static struct tag_name {
 	{ BLOBLISTT_VBE, "VBE" },
 	{ BLOBLISTT_U_BOOT_VIDEO, "SPL video handoff" },
 	{ BLOBLISTT_EFI_LOG, "EFI-call log" },
+	{ BLOBLISTT_U_BOOT_MMC_CLK, "MMC clock" },
 
 	/* BLOBLISTT_VENDOR_AREA */
 };
diff --git a/include/bloblist.h b/include/bloblist.h
index e04dbc15fef..9620f041469 100644
--- a/include/bloblist.h
+++ b/include/bloblist.h
@@ -154,6 +154,7 @@  enum bloblist_tag_t {
 	BLOBLISTT_VBE			= 0xfff001, /* VBE per-phase state */
 	BLOBLISTT_U_BOOT_VIDEO		= 0xfff002, /* Video info from SPL */
 	BLOBLISTT_EFI_LOG		= 0xfff003, /* Log of EFI calls */
+	BLOBLISTT_U_BOOT_MMC_CLK	= 0xfff004, /* MMC clock rate */
 };
 
 /**