From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4167FC49EA5 for ; Sat, 26 Jun 2021 18:34:06 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B244461C2D for ; Sat, 26 Jun 2021 18:34:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B244461C2D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D46B382C29; Sat, 26 Jun 2021 20:32:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="gXlwofTg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B529B82D62; Sat, 26 Jun 2021 20:32:14 +0200 (CEST) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (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 E7F3C82D18 for ; Sat, 26 Jun 2021 20:32:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-oi1-x236.google.com with SMTP id a14so8813863oie.11 for ; Sat, 26 Jun 2021 11:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zx46tFAgcXAi7c/qPmdR0j6sS6v6JzR+41JkmYzbriY=; b=gXlwofTgXOi20Dfgc/Fr/e2k/TJjtLDOn6LvpkgP0Gf6ghTL9D4/kc0EzCnuqNmw22 Am/8wcr/5rYcLsrBzVlAlhC0WlcWEoG7yg+COonjiPAJos/FlKiTmlxjcck2lUT5lTDz r5mCxfu3tFji5vQJX/wzfEjcral6sTX3qYDSU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zx46tFAgcXAi7c/qPmdR0j6sS6v6JzR+41JkmYzbriY=; b=r5Jcgt4dHtJS/JrY6fqzin6NNbvaYZGoEW7k1zB4GaiWXBC6Y6PNttvZbUMDmBlSZr XadOOB/cNyyLtsivKvlAOPN3rxsi14j4vaUfF9fu8Bvx+357H9FfTPOTLk/E4SgYCHUA bRSiEHEg53v6HHpkrr3c6U6ewWOy1lpvdzQa4njJWeiDTKg7d3adAD9iNYzKUOBJo6bf z/BQ5edQtSABBDOkGWi7bbsMTyYkYJWTCVpLi9gFAiv8tOHEnEDK9fYPjJxL58s8VAkP wGzbHEM3z14V2fM0ytKA/Y1r4why6pLr7uyx227jiRz7634sogqbQecPFN6ufAprU0qj Yniw== X-Gm-Message-State: AOAM533ijrbT2ViuHSp4aMjVa/KbuvYOZFb5lB+oIpHmQkJXvgIREOsd YiAd/eRsDfxpdacWeGuI7luX3F/zeBF/w1ko+jFekQ== X-Google-Smtp-Source: ABdhPJyjUhoxmegHctiKs1Hmc0REBbKafGe9xe1Wt3ogg98KApoHDAk5wVRQHeGkeZdYg1G2j3CwxoK5KOLwQCOQZTU= X-Received: by 2002:a05:6808:a9a:: with SMTP id q26mr12611147oij.53.1624732323453; Sat, 26 Jun 2021 11:32:03 -0700 (PDT) MIME-Version: 1.0 References: <20210621025555.19390-1-samuel@sholland.org> <20210621025555.19390-2-samuel@sholland.org> In-Reply-To: <20210621025555.19390-2-samuel@sholland.org> From: Simon Glass Date: Sat, 26 Jun 2021 12:31:51 -0600 Message-ID: Subject: Re: [PATCH 1/4] tools: Refactor mkimage linking with OpenSSL To: Samuel Holland Cc: Jagan Teki , Andre Przywara , Hans de Goede , U-Boot Mailing List , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Stefan Roese Content-Type: text/plain; charset="UTF-8" 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.103.2 at phobos.denx.de X-Virus-Status: Clean On Sun, 20 Jun 2021 at 20:55, Samuel Holland wrote: > > Some mkimage features require linking with OpenSSL. Instead of linking > OpenSSL based on the individual platform symbols, create a single > Kconfig symbol which can be selected by platforms as necessary. Then, > all OpenSSL-dependent image types can be enabled at once. > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: "NXP i.MX U-Boot Team" > Cc: Stefan Roese > Cc: Simon Glass > Signed-off-by: Samuel Holland > --- > arch/arm/mach-imx/mxs/Kconfig | 2 ++ > arch/arm/mach-mvebu/Kconfig | 1 + > common/Kconfig.boot | 2 ++ > scripts/config_whitelist.txt | 1 - > tools/Kconfig | 3 +++ > tools/Makefile | 22 +++++++--------------- > tools/mxsimage.c | 3 --- > 7 files changed, 15 insertions(+), 19 deletions(-) Reviewed-by: Simon Glass if you add help to the MKIMAGE_LINK_OPENSSL Kcofig