public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/3] Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE
Date: Tue,  9 Feb 2021 15:41:53 -0300	[thread overview]
Message-ID: <20210209184155.1306281-2-klaus@linux.vnet.ibm.com> (raw)
In-Reply-To: <20210209184155.1306281-1-klaus@linux.vnet.ibm.com>

Selecting SPL_FIT_SIGNATURE (without selecting U-boot proper
verified boot first) breaks the build due to
CONFIG_FIT_SIGNATURE_MAX_SIZE being undefined, in addition to Kconfig
warnings on RSA and IMAGE_SIGN_INFO unmet dependencies.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>

---

 common/Kconfig.boot | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 5eaabdfc27..7a0f7d9501 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -162,6 +162,7 @@ config SPL_FIT_PRINT
 config SPL_FIT_SIGNATURE
 	bool "Enable signature verification of FIT firmware within SPL"
 	depends on SPL_DM
+	select FIT_SIGNATURE
 	select SPL_FIT
 	select SPL_CRYPTO_SUPPORT
 	select SPL_HASH_SUPPORT
-- 
2.25.1

  reply	other threads:[~2021-02-09 18:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 18:41 [PATCH 0/3] Misc fixes for SPL_FIT_SIGNATURE builds Klaus Heinrich Kiwi
2021-02-09 18:41 ` Klaus Heinrich Kiwi [this message]
2021-02-25 13:25   ` [PATCH 1/3] Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE Tom Rini
2021-02-09 18:41 ` [PATCH 2/3] Kconfig: SPL_FIT_SIGNATURE requires SPL_LOAD_FIT Klaus Heinrich Kiwi
2021-02-25 13:25   ` Tom Rini
2021-02-09 18:41 ` [PATCH 3/3] Makefile: Add (default) DEVICE_TREE to SPL FIT Klaus Heinrich Kiwi
2021-02-25 13:25   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210209184155.1306281-2-klaus@linux.vnet.ibm.com \
    --to=klaus@linux.vnet.ibm.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox