[Concept,2/4] bloblist: Add tag for MMC clock rate handoff
Commit Message
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(+)
@@ -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 */
};
@@ -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 */
};
/**