diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2023-07-18 14:27:36 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-21 13:19:21 -0400 |
commit | 31d6bd8013e7a3566d2782f5294830b29bc69a2d (patch) | |
tree | 78f89e2c204443432f61cbb7c43b48c8bfa4dd99 | |
parent | 0db6e42fd61349658a5938f58e2f2b36ff03e838 (diff) | |
download | u-boot-WIP/2023-07-21-assorted-TI-platform-updates.zip u-boot-WIP/2023-07-21-assorted-TI-platform-updates.tar.gz u-boot-WIP/2023-07-21-assorted-TI-platform-updates.tar.bz2 |
common: Kconfig: Fix CMD_BMP/BMP dependencyWIP/2023-07-21-assorted-TI-platform-updates
Using `default y` will not select BMP when CMD_BMP has been enabled, if
it was already configured.
By using `select`, if `CMD_BMP` is turned on, it will force the presence
of `BMP`.
Fixes: 072b0e16c4 ("common: Kconfig: Add BMP configs")
Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
-rw-r--r-- | cmd/Kconfig | 1 | ||||
-rw-r--r-- | common/Kconfig | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index ecfd575..2d6e5f9 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2005,6 +2005,7 @@ config CMD_2048 config CMD_BMP bool "Enable 'bmp' command" depends on VIDEO + select BMP help This provides a way to obtain information about a BMP-format image and to display it. BMP (which presumably stands for BitMaP) is a diff --git a/common/Kconfig b/common/Kconfig index f5ad63c..973482f 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1167,7 +1167,6 @@ config IO_TRACE config BMP bool "Enable bmp image display" - default y if CMD_BMP help Enable bmp functions to display bmp image and get bmp info. |