Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0FC9EB64DC for ; Sun, 9 Jul 2023 23:18:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A80A785EEB; Mon, 10 Jul 2023 01:18:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dionne-riel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=dionne-riel-com.20221208.gappssmtp.com header.i=@dionne-riel-com.20221208.gappssmtp.com header.b="xmFUeYTg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B74FC85F0A; Mon, 10 Jul 2023 01:18:18 +0200 (CEST) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7B51485DCE for ; Mon, 10 Jul 2023 01:18:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dionne-riel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@dionne-riel.com Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7653bd3ff2fso436992685a.3 for ; Sun, 09 Jul 2023 16:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dionne-riel-com.20221208.gappssmtp.com; s=20221208; t=1688944695; x=1691536695; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o+czq3HssxIxmXSnYtzcteNSMTPrnErMQSjzLlqmUHI=; b=xmFUeYTgk4QuZBQWyFcxJ96UEWuXnDVorwmYxwHmP8Zf9dCFBbQSNcB/ejRzCLj18y SE5QID8Vq+vOaZL+5GLK+tjVykt4qFl1hiLwHqmFvgLRaO/sHSmYz9F7MqvDtsubJUSu wodX/VbY79+vFVoJmtZrjoRzom7S+X0RgfgVUUJZdTHunroNDy76ueYo91kL61P7iMKD hMTSpr9FMerm1vrrvef/JrDQU8i7AHCJ8aITdrvhp8JTiOhCFJN1gCmanddzQ2HBbq2H k9BlsjjNgqLWiqpAb3k4EQuN0cRoSEldsAbZg3N1sMFm2bqFahxZOjlVp+UN8U02VZnv 6weg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688944695; x=1691536695; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o+czq3HssxIxmXSnYtzcteNSMTPrnErMQSjzLlqmUHI=; b=lk+1tUBWP7a5Wlzea+4YwUCog2ANOZCgfadR4PeKHkFK1mfIYSdxK2wMxHbHrvxQpR G/zA7XTUSvp+uYAKtdaxF6lHsaqXsKZuFIz9HEz07x6MqYvTs9fQj5uv2BF1HUXHt9Dz WVAiRObQmpSPFnU5Cny8T3H0Papr1eE6x8SAnZA7YTVnVIZlM6lXXyAXBYAs1wGjvb0J qbp/PGj88FhwuLmouKkagT7DjPYgkdYzg5RvDR4AJGD8/xez5s7mW931RRqwMWPxRMzh yvzG1eTbH67YQD2uB7rtzmdPdIA1ukQ46gDwiC96oYy0AxNtEtZxv7zxE8vNupW7vNBQ Uw7A== X-Gm-Message-State: ABy/qLYmqllaGO2y/CiibYHX5iwZPoPoRy1PnkF/IfKpLeNWkNEvHwmp YW2UGN9xm35vJAq4Fx6EZoAHlg== X-Google-Smtp-Source: APBJJlFWY5qCRY4kJb9a6LR5c4VcfI0KcBhpiFQ1HxLIIzCGCAH/4tnztCSmQIo9U4hzcCZELBfmkA== X-Received: by 2002:a05:620a:2991:b0:765:4e03:b136 with SMTP id r17-20020a05620a299100b007654e03b136mr13485544qkp.53.1688944695191; Sun, 09 Jul 2023 16:18:15 -0700 (PDT) Received: from frankgrimes.lan (135-23-195-85.cpe.pppoe.ca. [135.23.195.85]) by smtp.gmail.com with ESMTPSA id s3-20020a05620a16a300b00767cbb11524sm1638698qkj.135.2023.07.09.16.18.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 16:18:14 -0700 (PDT) From: Samuel Dionne-Riel To: n-jain1@ti.com, u-boot@lists.denx.de, sjg@chromium.org Cc: trini@konsulko.com, devarsht@ti.com, vigneshr@ti.com, nsekhar@ti.com, Samuel Dionne-Riel Subject: [PATCH] common: Kconfig: Fix CMD_BMP/BMP dependency Date: Sun, 9 Jul 2023 19:18:10 -0400 Message-ID: <20230709231810.633044-1-samuel@dionne-riel.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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: 072b0e16c482114d242580dd7a3197db5966705f Signed-off-by: Samuel Dionne-Riel --- cmd/Kconfig | 1 + common/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 02e54f1e50..94c54b2359 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1988,6 +1988,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 bbabadb35e..d0117e3dc8 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1157,7 +1157,7 @@ config IO_TRACE config BMP bool "Enable bmp image display" - default y if CMD_BMP + default n help Enable bmp functions to display bmp image and get bmp info. -- 2.41.0