U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spl: mmc: restore partition lookup in dynamic mode
@ 2026-11-23 11:09 Carlo Caione
  2026-11-25  7:49 ` Peng Fan (OSS)
  0 siblings, 1 reply; 3+ messages in thread
From: Carlo Caione @ 2026-11-23 11:09 UTC (permalink / raw)
  To: Tom Rini, David Lechner, u-boot
  Cc: Balaji Selvanathan, Peng Fan, Jaehoon Chung, Carlo Caione,
	Johan Jonker

The introduction of SPL_PARTITION_GET_INFO left dynamic MMC mode without
partition lookup support. The partition drivers' get_info callbacks are
NULL, so lookups fail with -ENOSYS and prevent booting, including the
Genio 700 firmware A/B flow.

Fixes: 8b5070034da4 ("part: introduce SPL_PARTITION_GET_INFO and select it from consumers")
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ef70e96ad83..05a253c9528 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -593,6 +593,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_DYNAMIC
 	bool "MMC raw mode: by board-selected partition"
 	select SPL_LOAD_BLOCK
 	select SPL_PARTITIONS
+	select SPL_PARTITION_GET_INFO
 	help
 	  Select the partition at runtime instead of using a fixed number.
 	  The board must implement spl_mmc_boot_partition().

---
base-commit: 0b3875426f261150e6cf9ee14aacad9b76c07937
change-id: 20261123-ccaione-upstream-spl-mmc-dynamic-get-info-ec88a5d5ee2c

Best regards,
--  
Carlo Caione <ccaione@baylibre.com>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-25 11:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 11:09 [PATCH] spl: mmc: restore partition lookup in dynamic mode Carlo Caione
2026-11-25  7:49 ` Peng Fan (OSS)
2026-11-25 11:39   ` Carlo Caione

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox