From patchwork Sun Mar 29 12:22:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2072 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786968; bh=xpfv7kjUwVToT3ucJZmtfNptyUtFviDRDoVgEuXxnug=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Uaa+WsehJ5uaUQ52YkybYSXPFyUrvd1U9y3AYRlli76NxologYToDiQDiq0no41FE quV5nvGpBKiiD3NCatq/H/LeHi6EEwHKlgMYfRcnR1AYoeZAKtmtDREYav76ugkcMt 1Dk9um7wBiT6ahIppzVKzVXDaB/5fNQkXyrwwPrB7M6DLf7KBM9k+1ev1/Zd1udH70 ijlOl6RDxFcBjWGTMUwK8e1q4j+3mCAkBbZRW4dLvjdtBJaKT2Op094iSRD2/gYfxw IlJFeXrVEudceLdzt3pt0vT6Ld7Fjezw8ajUAXzF/vKjL3c7wqcHhLOwklgWBf8z99 3TTYf/07Zymgw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9EDE06A2D8 for ; Sun, 29 Mar 2026 06:22:48 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YN63vQfs6Hu2 for ; Sun, 29 Mar 2026 06:22:48 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786966; bh=xpfv7kjUwVToT3ucJZmtfNptyUtFviDRDoVgEuXxnug=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=pWVoMOLVSVarAPzb9VeTZbjLSXbM4DvxyifpIAOmJX+d65nmzrTI5F5GEaXpo3lef Fgg+ZJqgBNul9D/knZC0buU33ZFpPTryckl5gkt4bab39Z3/uZUYyOWDbqKUNipYTU VHMmznRK2otlhVLBL1S/iKmpA4FIb7lK6Xd2HhkrJFldZhCUZarXUm9CElq8qUrnl2 Y+/PUzAOD5zW2K4WHmvLME+jNzQ+ZMDNUnhkVHAfwGYZ9smrep08Hy4/PiF3ElSO3l UT0JovvAK0tt4QETZeiXlyUwt1UloEmu742o01BGgBRK5Ik8klrkS7PmBihYJlK1yQ 3ImfVuC40o00w== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8CDCE6A269 for ; Sun, 29 Mar 2026 06:22:46 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786965; bh=zN4ahVpqM6vZSwD+/qwqajAJuy3MXyGY5VBRzp2q8/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bz36BfcOs7VslILeWp5L6kwxZUzl6Y6lz5EF8svQ/hxhsZa/jiPws/DWnUdTgiGHK 4vKqQY9VBF2zGc+ibyjDrXToC/6JVHwU+AfU9S5VOp8pLHdSyVvWJZFobk/lboP1bQ K3uZIC3e6UHjENX47bfTzRjiVT+G/AeFqWsMbq/e4DSi1IIP2A5nhFIn2MBwe920cU R5hobTkt0lyEIJbnmNf/y2x361ymkpBztpiF0DlkzPtpV9hJ6P0hE5qtZ5rjChwVQT 4gUD7q2T8EuCFGfz3EuH/qEq8tw4xWAYC+FsEcPutU5My9qYpVVD0xEdAhLoKqtVM3 xsyOKA96sthbQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 330046A2BF; Sun, 29 Mar 2026 06:22:45 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id meAVzLz5RV80; Sun, 29 Mar 2026 06:22:45 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774786964; bh=b4sYf3NtwlzBnFGxJgEAZrHnZdYZkLqqHWaTqBbQn6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YjVoGmwLWQmnNTCUmDRzXSbS584vohD5leMnWhCJxwUpr4kbiT7PcZ3cca6v+jYS+ 10CRLdBnubMBRSr7aMa02/qfVOU7GiG/t3Rg9Q4QiYkjbfnBUh6doDm72VW1ySszBN sZEjAdU+kua2ihuxdgAZBAOSPatqGk0ChCJlu463pZLlAlpWSXgkK5tECN/U5SIxaO fMofbBCMDQNe9ZZBHtMXVFDcN79qQeV4LSy3t+Unwyo0cpJx0CtspYAUldCWo1tNuv 7YWT/tDCfaxkG5KOjR+/wODr8T3i/wAuXYBY/isJXlyrTx+LY8y8KsQkIEPr40RqaV r5Bt0Ly4GYlUA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id BB1A06A269; Sun, 29 Mar 2026 06:22:44 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Sun, 29 Mar 2026 06:22:17 -0600 Message-ID: <20260329122222.3533806-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260329122222.3533806-1-sjg@u-boot.org> References: <20260329122222.3533806-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: UEYX44JUYVBEFLOPZ4246CBMJJFCP32W X-Message-ID-Hash: UEYX44JUYVBEFLOPZ4246CBMJJFCP32W X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 2/4] bloblist: Add tag for MMC clock rate handoff List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass 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 --- common/bloblist.c | 1 + include/bloblist.h | 1 + 2 files changed, 2 insertions(+) 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 */ }; /**