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 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 CDBD5C46467 for ; Sun, 8 Jan 2023 02:41:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3252D854EE; Sun, 8 Jan 2023 03:40:22 +0100 (CET) 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="nQMy4z6S"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 32247855FE; Sun, 8 Jan 2023 03:40:18 +0100 (CET) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (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 2E2B4855B7 for ; Sun, 8 Jan 2023 03:40:12 +0100 (CET) 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-ed1-x532.google.com with SMTP id s5so7565146edc.12 for ; Sat, 07 Jan 2023 18:40:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=09LgGv4R0cjib7JNaOUXdV7yWn/LYt7GoQolYy0S154=; b=nQMy4z6S4L1m95X9tZkTfSCIqall4iY6xnQN869nH9goQYJvgSA3P001hGwC3tkJHX 5/Yv1zxZlFY39rtpB27Qozn4xIr71Nlk0aC9G2rLtOrPJY1bxjsS2AEMBOt6STPvxwGD oGqgoGb6vCYHaEMgntqzN5E4sNbPQAxCAz76A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=09LgGv4R0cjib7JNaOUXdV7yWn/LYt7GoQolYy0S154=; b=oYbfbS4LoGPQa6zQ0/o3ts0yrdOe4rCKqH8CXL13xSP2uK0vXPlMmj5OKnEuMvavuT pgVwXD2JGIwETNNPopHCVZCGXHX7h+e7Toytl4oUwiGsHtpPs7AUEwaier6jPdCbygUg YNQHi53fq7rn5VfLIqjey1pvsuqreshO83YaSVYMzvNbPTSbLrggKrieuuWQLnG+IChJ rbJMDnqHtaMvz9zCUkn0Yy4Dk/ly3DzehZNiyQl76qdKRIPnnz6PfCamQquLRQQ9u4pR UP1oy16FBgsYpqMwg769h31uZPJd4hm55m8ClyfilDeeF+nqI1jrtTT1WCBIIAnzPl2B aMRQ== X-Gm-Message-State: AFqh2kp0/UAZvFMQncXwGKd1/eeFENYq4RibRQKFy0jh2UHzyu3uem9J vRZYcfdMPpr53tV0d06iN8ukgVSlNAlq7obDTaJAXKP8fTqsxQ== X-Google-Smtp-Source: AMrXdXuk0QgTiAOtHPZupbpvYAb5UzJX1NWDuqzH6hXFYd2tStFG9/KmETnewPOS9edQ7eLOzeNUl2W+DoiNauym850= X-Received: by 2002:a05:6402:3809:b0:48a:5f4c:c1a with SMTP id es9-20020a056402380900b0048a5f4c0c1amr2852462edb.298.1673145611199; Sat, 07 Jan 2023 18:40:11 -0800 (PST) MIME-Version: 1.0 References: <20230107215731.484317-4-sjg@chromium.org> In-Reply-To: <20230107215731.484317-4-sjg@chromium.org> From: Simon Glass Date: Sat, 7 Jan 2023 19:40:00 -0700 Message-ID: Subject: Re: [PATCH v2 03/14] tpm: Add a proper Kconfig option for crc8 in SPL To: U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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.6 at phobos.denx.de X-Virus-Status: Clean On Sat, 7 Jan 2023 at 14:57, Simon Glass wrote: > > The current approach is a bit of a hack and only works for the tpm > subsystem. Add a Kconfig so that crc8 can be enabled in SPL for other > purposes. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add an SPL dependency in the Kconfig > > lib/Kconfig | 18 ++++++++++++++++++ > lib/Makefile | 3 ++- > 2 files changed, 20 insertions(+), 1 deletion(-) Applied to u-boot-dm/next