summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2023-07-18 14:27:36 +0530
committerTom Rini <trini@konsulko.com>2023-07-21 15:32:12 -0400
commit373991d6939b01c47b352b1f620ef772419a9cf4 (patch)
tree56297e86b3ac1b199488643da8322f2f623159a2 /cmd
parenta72532fa194ed31b559bdd8b287854df0a4903f8 (diff)
downloadu-boot-373991d6939b01c47b352b1f620ef772419a9cf4.tar.gz
u-boot-373991d6939b01c47b352b1f620ef772419a9cf4.tar.bz2
u-boot-373991d6939b01c47b352b1f620ef772419a9cf4.zip
common: Kconfig: Fix CMD_BMP/BMP dependency
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ecfd575237..2d6e5f993f 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