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 BDBC4C433EF for ; Thu, 7 Jul 2022 01:58:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C6FA384590; Thu, 7 Jul 2022 03:56:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="b7pqIxZi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B430C8454E; Thu, 7 Jul 2022 03:56:21 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 3C5A184592 for ; Thu, 7 Jul 2022 03:56:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id g14so20861078qto.9 for ; Wed, 06 Jul 2022 18:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mlfQpOduezhkchBQ8FR9BSpJ5PxTV5ODM8e46fobuLg=; b=b7pqIxZifJZqPllg4dqcrP5PVDXCRHiftG4NPvutgnZmFmAvkJqgCbwSNajzhVJwXQ 8GYPfo/m+U/1i4XZQ22551KVbYt6Ox/Xi+SrQcbSfPYFkBfxAR1FvXspIB/3E9rn551j Bjwj+60LUYrkpXWBHiCOjLyNEuKugs4kxD/MM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mlfQpOduezhkchBQ8FR9BSpJ5PxTV5ODM8e46fobuLg=; b=SSWyC6IomAVsRZdUrkmq5ZjiDR4i4l5GGyAhrxzBU3nokCF36Y/sd0Z7vhUyy4uyXU 5Dnuxhdm/djaWp4ndzYNt+E+lfZPH4WKaV8ftY34KWpSbuyeJYlSuynMWGYu/DQktyOQ SM2Xe1iSBdrQFUl23fGG3LwNat0tzUW8Eu8SDUZT2jxIeYSml8U2xV2ikeZ+Mmrbf2Q+ 4pXoXH6HmAvVYfabr47Re8NK+DJKQ0/vBnfxj6I3IYxYml35RJRvF1tB3HEzqUnlk6ki 3mvzGub2GEpKwRiiXDoo64oHeTPa02Xf+O8p2z9rS5w3Tlyx/PzXjbVhJ/6dGpZO60Rz /oDw== X-Gm-Message-State: AJIora+Hwzh4QK/I9OpHfU8/TdwVCV33O6RLETMQWeSRyCmO0lymon9p Hf5fR/1I4+edVuNSW8GN/0u90Q== X-Google-Smtp-Source: AGRyM1ugx7opsKhLbrgCR7zSMZkV1kfML2QYu09K2NXm5P5tJ52ScSyHfeeRS3eXMXgC49dIYIlZYQ== X-Received: by 2002:a0c:ab8f:0:b0:473:2937:a05f with SMTP id j15-20020a0cab8f000000b004732937a05fmr2118748qvb.90.1657158978048; Wed, 06 Jul 2022 18:56:18 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id q23-20020a37f717000000b006b249cc505fsm15820535qkj.82.2022.07.06.18.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 18:56:17 -0700 (PDT) Date: Wed, 6 Jul 2022 21:56:15 -0400 From: Tom Rini To: Nishanth Menon Cc: Robert Nelson , gadiyar@ti.com, Praneeth Bajjuri , Jason Kridner , u-boot@lists.denx.de Subject: Re: [PATCH 2/3] board: ti: common: Handle the legacy eeprom address width properly Message-ID: <20220707015615.GW1146598@bill-the-cat> References: <20220617182612.12575-1-nm@ti.com> <20220617182612.12575-3-nm@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dhZ3knqQgU5Th7HD" Content-Disposition: inline In-Reply-To: <20220617182612.12575-3-nm@ti.com> X-Clacks-Overhead: GNU Terry Pratchett 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 --dhZ3knqQgU5Th7HD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 17, 2022 at 01:26:11PM -0500, Nishanth Menon wrote: > Due to supply chain issues, we are starting to see a mixture of eeprom > usage including the smaller 7-bit addressing eeproms such as 24c04 > used for eeproms. >=20 > These eeproms don't respond well to 2 byte addressing and fail the > read operation. We do have a check to ensure that we are reading the > alternate addressing size, however the valid failure prevents us > from checking at 1 byte anymore. >=20 > Rectify the same by falling through and depend on header data comparison > to ensure that we have valid data. >=20 > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! --=20 Tom --dhZ3knqQgU5Th7HD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLGPT8ACgkQFHw5/5Y0 tyzswAv/f7qO5OJ4OAyln53JM4MwAECh+pyRRspZMbaoam5CXBm61FUp5pfFioc2 Sva5hw4GqWBzTqxOz6W4oMteufidaBwWwmM+T/x3/2He/uPiAmspHOADOOGMduPK 3N8548DU14vmjQxtcfCxmxXKILPi2mezZDoX1PUqQlohLH2mFxkHPAsOF8rhY6PV 7dTfuC14escUu8RJvsnna/G8JM5MuLL8ejEWoEQ2K8C1FgNpk7U8NfzFL1w+qXsF 10Ih5lhwHmXkkzqXezZhGkPdYYuVvx8LSyXeW0GzDcSpFMrJo7GYAiQPK2o3iGFg IryO6iL57KR2tnFqYQ/NUj27pHA36neds8ZjdgburJEM2Ls1co6V7xgEMPVInAO+ X03s7MIZB+y62vJR/ClMcexjIMnEyBGLLlKa4ogvRs8BVAeKag9OdhqPVzJKI5rC Y9XlE5fSb5PmPi2XuuE+ev7gf6WZ/kNehS2hrMyv5NZfymsM6aAQhRF3sIpC7lBF xkfid2Jv =I2sT -----END PGP SIGNATURE----- --dhZ3knqQgU5Th7HD--