[PATCH] cmd: part: add explicit dependency on PARTITIONS

Tom Rini trini at konsulko.com
Fri Apr 22 14:14:15 CEST 2022


On Fri, Apr 22, 2022 at 10:44:30AM +0900, AKASHI Takahiro wrote:

> This is a follow-up patch for my "disk: don't compile in partition
> support for spl/tpl if not really necessary".
> 
> "part" command is useful only if, at least, one of partition table types
> is selected. So it should have a dependency on PARTITIONS which is now
> automatically selected if one of partition table types is enabled.
> 
> With this change, *_defconfig which explicitly selects CMD_PART but
> has no partition table types enabled should also be fixed.
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

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


More information about the U-Boot mailing list