cmd: part: add explicit dependency on PARTITIONS
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 22 Apr 2022 01:44:30 +0000 (10:44 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 24 Apr 2022 19:17:31 +0000 (15:17 -0400)
commit64efbd125dd8e1dff7a0f3cc2b3df810794a2aea
tree8bf6a3db770fe6d6aa1cc7c78496ee7a7d12afda
parent46a06ed82a81dfcb451fe82381c59c1d0a6667a1
cmd: part: add explicit dependency on PARTITIONS

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@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig
configs/cortina_presidio-asic-emmc_defconfig