On Mon, Jun 15, 2026 at 12:30:01PM +0530, Balaji Selvanathan wrote: > Add CONFIG_SPL_UFS_RAW_U_BOOT_USE_PARTITION to the preprocessor > guard in include/part.h that controls whether part_get_info_ptr() > resolves to a real function or NULL. This ensures partition lookup > is available in SPL when UFS partition-based boot is selected, > consistent with how MMC raw partition mode is handled. > > Reviewed-by: Varadarajan Narayanan <[email protected]> > Signed-off-by: Balaji Selvanathan <[email protected]> > --- > Changes in v3: > - No changes in v3 > --- > include/part.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/part.h b/include/part.h > index 15daacd7faa..47b91e2043c 100644 > --- a/include/part.h > +++ b/include/part.h > @@ -463,7 +463,8 @@ ulong disk_blk_erase(struct udevice *dev, lbaint_t start, > lbaint_t blkcnt); > # if defined(CONFIG_SPL_FS_EXT4) || defined(CONFIG_SPL_FS_FAT) || \ > defined(CONFIG_SPL_FS_SQUASHFS) || \ > defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION) || \ > - defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE) > + defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE) || \ > + defined(CONFIG_SPL_UFS_RAW_U_BOOT_USE_PARTITION)
Really feels like we need a proper symbol here for some library function, and for the users to select it. -- Tom
signature.asc
Description: PGP signature

