mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
46a06ed82a
commit
64efbd125d
2 changed files with 1 additions and 1 deletions
|
@ -1246,6 +1246,7 @@ config CMD_OSD
|
||||||
|
|
||||||
config CMD_PART
|
config CMD_PART
|
||||||
bool "part"
|
bool "part"
|
||||||
|
depends on PARTITIONS
|
||||||
select HAVE_BLOCK_DEVICE
|
select HAVE_BLOCK_DEVICE
|
||||||
select PARTITION_UUIDS
|
select PARTITION_UUIDS
|
||||||
help
|
help
|
||||||
|
|
|
@ -20,7 +20,6 @@ CONFIG_LAST_STAGE_INIT=y
|
||||||
CONFIG_SYS_PROMPT="G3#"
|
CONFIG_SYS_PROMPT="G3#"
|
||||||
CONFIG_CMD_I2C=y
|
CONFIG_CMD_I2C=y
|
||||||
CONFIG_CMD_MMC=y
|
CONFIG_CMD_MMC=y
|
||||||
CONFIG_CMD_PART=y
|
|
||||||
CONFIG_CMD_WDT=y
|
CONFIG_CMD_WDT=y
|
||||||
CONFIG_BOOTP_BOOTFILESIZE=y
|
CONFIG_BOOTP_BOOTFILESIZE=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
|
|
Loading…
Reference in a new issue