diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2022-04-22 10:44:30 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-24 15:17:31 -0400 |
commit | 64efbd125dd8e1dff7a0f3cc2b3df810794a2aea (patch) | |
tree | 8bf6a3db770fe6d6aa1cc7c78496ee7a7d12afda /cmd | |
parent | 46a06ed82a81dfcb451fe82381c59c1d0a6667a1 (diff) | |
download | u-boot-WIP/24Apr2022.zip u-boot-WIP/24Apr2022.tar.gz u-boot-WIP/24Apr2022.tar.bz2 |
cmd: part: add explicit dependency on PARTITIONSWIP/24Apr2022
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index f580797..65517cb 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1246,6 +1246,7 @@ config CMD_OSD config CMD_PART bool "part" + depends on PARTITIONS select HAVE_BLOCK_DEVICE select PARTITION_UUIDS help |