From patchwork Mon May 17 16:38:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Gagniuc X-Patchwork-Id: 1479660 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=lMTdsDX+; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FkPxP6Y2Gz9sWc for ; Tue, 18 May 2021 02:39:53 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D2A082CCD; Mon, 17 May 2021 18:39:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b="lMTdsDX+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 81A1482CD0; Mon, 17 May 2021 18:38:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (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 9974482B8E for ; Mon, 17 May 2021 18:38:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.nuke.me@gmail.com Received: by mail-oi1-x229.google.com with SMTP id c3so7028575oic.8 for ; Mon, 17 May 2021 09:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5lVdSOvpO3p2CO3pxcRcxDDIY1Z5PGvSyyXk/+17moc=; b=lMTdsDX+02LadQ5s9wpG9Q75I1rBBUqVPnkkzmyCDEO73LBBqvjAv8ECIuGlzKIQ9P Y+feKyXEbAX4e66bpmB3uEZ+3rfdpgGHar5DZYaMhNW+gIB+lkldBkpVUPkD30d/j/Mc cnpBYV6Na2hYqZhAFm2aV4bEdpmpB8mResZjof5U5l4pWXr2vdkPQQajP4vjO2FGC27n PEhDbXPVsJxbWVWY3KwOZZyhhviedLDmP3F+RtKwYe8C+7lve6q1Kja9w6Dqp3ewn/Y2 yBY9fkG9eUjG9e6nEvasyj8/ojBDtcudjUYlId2aA/R5QkhMTPLoKPBGbqciy458i7pE RR/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5lVdSOvpO3p2CO3pxcRcxDDIY1Z5PGvSyyXk/+17moc=; b=RtMajIGjigQVpnqKdPCsT9zmYpBjYpsX+8OWEaQ7W7wQ6IKyFhgtChdPPhtdAgcSbA 4WCGfx0xguBb3iQzUS30B65GdyaVTMNm/3BWFqa0oQyaRfrJ/SFCso5fV0YIbXslfJ+t 71HGnhE+SSLpziN5G2ZAsTJGCqE0MLB1Vr0SqJY2yxlgqt39dryg5lqbQaEP1GlKApt5 muBcv1M8SLEWtmYeSGnWEp0BBk1msHBYcBWSXk52NlZ/1EKuhlAKoBMjeJgV9muH3xet mW3u3w9Wr6AbR2Ut/vor9ZOu44w84iPXJdrNVoPFMmeSdhAWPQJgdv0Oy2Q9AAkDtyEm g1WA== X-Gm-Message-State: AOAM532vi9iG5YAtGNM6OBP+bIiTrVMOtCeDsjPNpLzvr5dhJPHfM4ug SX+GkmcwHkdMo8GuarN8BT9qKQ5fFsCTuA== X-Google-Smtp-Source: ABdhPJzfG8fwXhPTXBtLnrLZvwLh8AmjK/xUhdKQEz5VkRF0qAkWqK1DpxN0ncSAd8gASSm41wfZDA== X-Received: by 2002:a05:6808:619:: with SMTP id y25mr526438oih.75.1621269527078; Mon, 17 May 2021 09:38:47 -0700 (PDT) Received: from nuclearis3.lan (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id 64sm3103152oob.12.2021.05.17.09.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 09:38:46 -0700 (PDT) From: Alexandru Gagniuc To: u-boot@lists.denx.de, sjg@chromium.org Cc: trini@konsulko.com, Alexandru Gagniuc Subject: [PATCH 05/18] Kconfig: Rename SPL_MD5_SUPPORT to SPL_MD5 Date: Mon, 17 May 2021 11:38:27 -0500 Message-Id: <20210517163840.839097-6-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517163840.839097-1-mr.nuke.me@gmail.com> References: <20210517163840.839097-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Simon Glass Drop the _SUPPORT suffix so we can use CONFIG_IS_ENABLED() with this option. Signed-off-by: Simon Glass Reviewed-by: Alexandru Gagniuc Signed-off-by: Alexandru Gagniuc --- common/spl/Kconfig | 2 +- include/image.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 0329d93b29..c83ce4d367 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -417,7 +417,7 @@ config SPL_CRC32 for detected accidental image corruption. For secure applications you should consider SHA1 or SHA256. -config SPL_MD5_SUPPORT +config SPL_MD5 bool "Support MD5" depends on SPL_FIT help diff --git a/include/image.h b/include/image.h index 2c812d22a9..887a3270bd 100644 --- a/include/image.h +++ b/include/image.h @@ -65,7 +65,7 @@ struct fdt_region; # ifdef CONFIG_SPL_CRC32 # define IMAGE_ENABLE_CRC32 1 # endif -# ifdef CONFIG_SPL_MD5_SUPPORT +# ifdef CONFIG_SPL_MD5 # define IMAGE_ENABLE_MD5 1 # endif # ifdef CONFIG_SPL_FIT_SHA1