DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 2/3] v7a: barebox: stm32mp: enable sha1sum command
Date: Wed,  3 Jun 2020 16:16:52 +0200	[thread overview]
Message-ID: <20200603141653.30803-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20200603141653.30803-1-a.fatoum@pengutronix.de>

The barebox images for all v7a boards (e.g. rpi3, bbb) have this already
enabled. For symmetry with them and because internal CI checks for
it, enable the command.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v7a/barebox-stm32mp.config      | 6 ++++--
 configs/platform-v7a/barebox-stm32mp.config.diff | 4 ----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 1a346805fd8c..027b9d6e2c43 100644
--- a/configs/platform-v7a/barebox-stm32mp.config
+++ b/configs/platform-v7a/barebox-stm32mp.config
@@ -194,6 +194,7 @@ CONFIG_STATE=y
 # CONFIG_STATE_BACKWARD_COMPATIBLE is not set
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
+# CONFIG_MACHINE_ID is not set
 
 #
 # OP-TEE loading
@@ -297,7 +298,7 @@ CONFIG_CMD_PWD=y
 CONFIG_CMD_READLINK=y
 CONFIG_CMD_RM=y
 CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SHA1SUM=y
 # CONFIG_CMD_SHA224SUM is not set
 # CONFIG_CMD_SHA256SUM is not set
 # CONFIG_CMD_SHA384SUM is not set
@@ -767,9 +768,10 @@ CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
 CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_MD5=y
+CONFIG_SHA1=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA224_GENERIC is not set
 # CONFIG_DIGEST_SHA256_GENERIC is not set
 # CONFIG_DIGEST_SHA384_GENERIC is not set
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
index 3e5fc93e30eb..81d1af5eb14d 100644
--- a/configs/platform-v7a/barebox-stm32mp.config.diff
+++ b/configs/platform-v7a/barebox-stm32mp.config.diff
@@ -26,7 +26,6 @@ CONFIG_CMD_MENU_MANAGEMENT=y
 CONFIG_CMD_MIITOOL=y
 CONFIG_CMD_OF_DIFF=y
 CONFIG_CMD_POWEROFF=y
-# CONFIG_CMD_SHA1SUM is not set
 # CONFIG_CMD_SPI is undefined
 # CONFIG_CMD_USB is undefined
 # CONFIG_CMD_USBGADGET is undefined
@@ -38,7 +37,6 @@ CONFIG_CRC8=y
 # CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
 # CONFIG_DEFAULT_COMPRESSION_XZ is undefined
 CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DIGEST_SHA1_GENERIC is not set
 # CONFIG_DRIVER_CFI is undefined
 CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
 CONFIG_DRIVER_NET_DESIGNWARE_STM32=y
@@ -62,7 +60,6 @@ CONFIG_I2C_STM32=y
 # CONFIG_KEYBOARD_USB is undefined
 # CONFIG_LED_TRIGGERS is not set
 # CONFIG_LIBFDT is undefined
-# CONFIG_MACHINE_ID is undefined
 CONFIG_MACH_LXA_MC1=y
 # CONFIG_MACH_RPI2 is undefined
 # CONFIG_MACH_RPI3 is undefined
@@ -117,7 +114,6 @@ CONFIG_REMOTEPROC=y
 CONFIG_RESET_CONTROLLER=y
 # CONFIG_RESET_IMX7 is not set
 CONFIG_RESET_STM32=y
-# CONFIG_SHA1 is undefined
 # CONFIG_SPI is not set
 # CONFIG_SPI_MEM is undefined
 CONFIG_STM32_BSEC=y
-- 
2.27.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  reply	other threads:[~2020-06-03 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-03 14:16 [DistroKit] [PATCH 1/3] v7a: barebox: stm32mp: enable barebox-state support Ahmad Fatoum
2020-06-03 14:16 ` Ahmad Fatoum [this message]
2020-06-03 14:16 ` [DistroKit] [PATCH 3/3] v7a: lxa-mc1: migrate loglevel to barebox environment variable Ahmad Fatoum
2020-06-03 16:18 ` [DistroKit] [PATCH 1/3] v7a: barebox: stm32mp: enable barebox-state support Robert Schwebel

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=20200603141653.30803-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.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