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 2596AC4332F for ; Tue, 31 Oct 2023 08:07:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7EB07874C4; Tue, 31 Oct 2023 09:07:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1698739636; bh=hBtujsFbjrArzd7qVSBk1CUFF1Fie+iS9qsxUo9TJko=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To:From; b=mMnosqx+ZCfiuzadjD5Rf7cL4SJKCIqYNF1hyrjrGSKl4sgha/UhMQ3fHGAOio9AH 6PeEU0GCypLpHab6ckWGaQZoGul53YjIkVU5uURpcwkfpLIHLeIG7W4pEsJ+9pmbq4 MKgwCyDbCxTkrpN7nxpGwMyWkjoryAN/7cWCbTruqLC/caVfr/W2fE3nMA/lx58Dmv 2uhXIXxInzV+cZfr5JwKfgCQj50MWY4Y0FWUK7SlYhp0abQyIMwJq45ToCQiJOaNvd 1HYmtAzPDiQoPDloC/++cXioRAUN9gkKjzdw3AX7lxz6hyqSwPIwPlXRKltxRuoFc5 AkFCiLQjPrPyQ== Received: from [192.168.1.107] (82-131-157-32.pool.digikabel.hu [82.131.157.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 509F5874B0; Tue, 31 Oct 2023 09:07:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1698739635; bh=hBtujsFbjrArzd7qVSBk1CUFF1Fie+iS9qsxUo9TJko=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=q+J2yr9wYYIC6RNUM6L8c5WXcDIVjNWswXuYNFHHZBtG7nljTr+LUdfnYO659RXap ZtYLJLkJKce4yOKl3k7hYbKhUA8fSumwtIhnn89fXxvTJCCvx8Oe2HMiv1wamp3tXG sndu8pZo+1jrQbl8KWifQkdvRpRAaoGDGjwgGHlcvn6QQyB3HVZXh7Ga0UCV2XBTXf SXxatCluxbAXzxQcoSkENg4WleuwUCxK91Ru6UtuV306BRWJ47Aw6CISrPu5rw7PT9 NpyQk0oaPUj84ICH1kfIIlbjEJsB7fxdB7RueX5OJqlDneuJX8jKoe5wHhhW6KFve8 BKVU1rjPMUy7Q== Subject: Re: [PATCH v3 1/3] bootcount: Remove legacy I2C driver To: Philip Richard Oberfichtner , u-boot@lists.denx.de Cc: sjg@chromium.org, trini@konsulko.com References: <20231031073844.15683-2-pro@denx.de> <20231031073844.15683-4-pro@denx.de> From: Heiko Schocher Message-ID: Date: Tue, 31 Oct 2023 09:06:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20231031073844.15683-4-pro@denx.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Reply-To: hs@denx.de Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hello Philip, On 31.10.23 08:38, Philip Richard Oberfichtner wrote: > The legacy I2C bootcounter will hereby be removed and eventually > be replaced by a driver model implementation in the follow-up commit. > > The legacy driver has the following drawbacks: > - It's not adhering to the driver model > - Settings are grabbed from Kconfig rather than device tree > - i2c_{read,write} are being used instead of dm_i2c_{read,write} > > Signed-off-by: Philip Richard Oberfichtner > --- > > Notes: > Changes in v3: none > Changes in v2: none > > drivers/bootcount/Kconfig | 24 +++-------------- > drivers/bootcount/Makefile | 1 - > drivers/bootcount/bootcount_i2c.c | 43 ------------------------------- > 3 files changed, 3 insertions(+), 65 deletions(-) > delete mode 100644 drivers/bootcount/bootcount_i2c.c Reviewed-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de