[PATCH 1/2] mmc: update guard for legacy part_init() call

Tom Rini trini at konsulko.com
Tue Feb 11 04:13:53 CET 2020


On Sat, Feb 01, 2020 at 11:35:37AM -0800, Thomas Hebb wrote:

> commit eef05fd3ba68 ("mmc: bring back partition init for non-DM MMC
> drivers") added this call to support drivers not yet migrated to driver
> model. Slightly previously, however, commit 91ff6865629c ("blk: Rework
> guard around part_init call") had removed the last reference in the code
> to SPL_LIBDISK_SUPPORT, replacing it with a non-stage-specific check for
> CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE. Make that same change to
> the guard here.
> 
> Signed-off-by: Thomas Hebb <tommyhebb at gmail.com>

This breaks a large number of platforms including T1024QDS_SDCARD.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200210/c9879042/attachment.sig>


More information about the U-Boot mailing list