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 93120C433EF for ; Mon, 30 May 2022 08:44:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4AC5984293; Mon, 30 May 2022 10:44:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="QRIuuGEw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 12EE884282; Mon, 30 May 2022 10:44:52 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 279A884293 for ; Mon, 30 May 2022 10:44:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3743160F2B; Mon, 30 May 2022 08:44:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E51BC385B8; Mon, 30 May 2022 08:44:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653900286; bh=H+zPHY8B9CelRNj5sTItR9C/JTHrFFGRPZhNe4k1jXU=; h=From:To:Cc:Subject:Date:From; b=QRIuuGEwhmLimU0yyw8pAhxexmDKSE2H6k5C0myRbNroB6+z/mi9naGVsnjDo+THc h1jvB0BH02UVPF4b9KAPbtc7kgJnLgIZgEM9qDqdygnGrhWVcNThZwZ8kxjTuzm8vV 44PtdaFOgO90M9+v2R4jr4X4MU4oFzL46NuQVuvtBMtzLyO4s7UyueBQScNZKL1qws wB7VCNs6JVs2LclkBPSBJAFH9wiE5rDU7sL+nLGpubvq7DTBDI2AwYVkIDQ6uviVa7 c2qWKVvjEH8GG258QJl1CkSroBVLDJNr9fw/k7vceU5rb9Z47ttc3TvC69+8gll3E6 E9ngbFYsD9nbg== Received: by pali.im (Postfix) id 86E76731; Mon, 30 May 2022 10:44:43 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Simon Glass , Baruch Siach Cc: u-boot@lists.denx.de Subject: [PATCH] tlv_eeprom: Add missing CRC32 dependency Date: Mon, 30 May 2022 10:42:35 +0200 Message-Id: <20220530084235.13027-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean tlv_eeprom uses crc32() function, so add dependency into Kconfig. Signed-off-by: Pali Rohár --- cmd/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 69c1814d24af..d513d808aa3d 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -167,6 +167,7 @@ config CMD_REGINFO config CMD_TLV_EEPROM bool "tlv_eeprom" depends on I2C_EEPROM + select CRC32 help Display and program the system EEPROM data block in ONIE Tlvinfo format. TLV stands for Type-Length-Value. @@ -175,6 +176,7 @@ config SPL_CMD_TLV_EEPROM bool "tlv_eeprom for SPL" depends on SPL_I2C_EEPROM select SPL_DRIVERS_MISC + select SPL_CRC32 help Read system EEPROM data block in ONIE Tlvinfo format from SPL. -- 2.20.1