Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1778931ybl; Thu, 19 Dec 2019 02:54:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwYVGZE2MPxlJJyRUKH/vVBxCu2fq1BKVc1Mnec60ZSwkRInBiGFE8lwjfXxs7nnUyDZkU3 X-Received: by 2002:a9d:4e97:: with SMTP id v23mr7655943otk.201.1576752867728; Thu, 19 Dec 2019 02:54:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576752867; cv=none; d=google.com; s=arc-20160816; b=0ZzG0AW7OUHwxpSrS+jUmertA8F/CVGXCCZXpwR6OkKmh2iQDhRE4oEDfINepcqcgF lXHboUipKep9Ylu6/Q6WI8ue2IcWuOJ1jpACtlErtMwtVdPxppBfDIovcc8Q5AitX1+G 8hvBywP4cnBl+7hPKM5+S8Rdy6usvqbL+u6f/xodymi0Ut+5pr+RAhwy6Io+UsvxLJGK khGDH5Xs1mZOXmaG9Zp7yeYC5wOdD6+7WfksX4MIkjNKWyTKwOoaabVdgW0w/jw1UKwY uwExmsPSvC6PLTMU4g/q96r/cMMlZE9sRRdfHW+MmjBbJwR3Id55LMsXZDsgjIngqFmj TGDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ZXDdUchGqcGrK25/fVfAQ7zC2o3YZYG/aF++t6v9I1o=; b=BNspqwjbQNLsJAzXdhEElCZO4PQ6zI5fZj6tm8fjtfLRz7IxLGEmGB+rJLWxkZkecD ICR/s64IAIvN0NX4CW/o+GHjza771HLMAW3lWBZMTWDDbN5ab6arZnC5bI/JcYZgTjPj pfsh1ox8ECcTYM60VmWPLrEM1aD4pde2Z4sE1QiAzMnIh5oLZeUfg8B73rRGGjUZp/rI 7BoIf0L6pwWPGGQDwrsSEfTkT31CqQt/gQutfBDtvtmSz/txslBB33/DHybukwaQhkZP 3Fz4uctKz8EbzVNnmxqBW6ZYhoJr1DbLKljPfBlW++ZxfQZ6SfPiCQBLzwlLzdecj3Ek G1cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KEeUqQTW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si256584otp.30.2019.12.19.02.54.16; Thu, 19 Dec 2019 02:54:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KEeUqQTW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726768AbfLSKwg (ORCPT + 99 others); Thu, 19 Dec 2019 05:52:36 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:38597 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfLSKwf (ORCPT ); Thu, 19 Dec 2019 05:52:35 -0500 Received: by mail-wr1-f66.google.com with SMTP id y17so5513049wrh.5 for ; Thu, 19 Dec 2019 02:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZXDdUchGqcGrK25/fVfAQ7zC2o3YZYG/aF++t6v9I1o=; b=KEeUqQTWTWspOZferDBKxJRiolK3KQa6C3ksapi9JX/FVu21dZ7XD8X5TJVpp/w9A1 22HyzJLAY49JncZXmY6QMzGvxiyeUsGDrquAiPYLUy2dcLmaI+LbkgG0DmZsQ93c54Oc EmRuD9uAXvFn/+wbycCp0IHXKeSVmIh6hstFYADSGlJlyFd0DpXtb7P0IDGFrCZf1HlU yMnGbIwB0HND4fdQbeNho6qdPER/kVyFafbemsVb1Rm0w7Mbu9Kud7ZygC9ViclMhpm5 XCS34S3AR3yjEzp93cSvgQopEKtG78XV9LLTzYA/Kjba3Sd3to47bXP+pZ1ejTPHNa0m yaPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZXDdUchGqcGrK25/fVfAQ7zC2o3YZYG/aF++t6v9I1o=; b=CEFj+dXc1PqfO7jHEt7hNQr0BovZZDXwUqRZD3/rlbb3PIHg3b3Q0uvYgSH+yG1Er/ nzJjNp17BICttt/FY/NGM8dpn8N5gngSc2/tgeIdiLbvPyXsKSdSIkmTrvR6hPnKtInc RXokwNNQnCbz12wWKcSTPCu/qTIhyHNQYDUbo9Z1s6yzPtGJ6kwk36JCkucx8nj59VeA LwaNYi9gO3dqPxRxnP5zEwYx9yzXV6Uc7Rqf3aXIdS7HLXWzPDBqB6Er3SI2grCxQDVw PCPuZ9L5fgL7rYMMPRPPzx/3rOHy90LAa4qhSuHTfJ1lcUbXcsXozfnlCJ+75KsDPWFG vr5Q== X-Gm-Message-State: APjAAAX3JglGIIr/pl+Pqc1vuYiuDtJ0J6ZDUhMQXZJsRjHXHIJJ6qdL 0XeqvQ79cVvgoEIYmwXei9Nao0X5F3Y= X-Received: by 2002:adf:e5ce:: with SMTP id a14mr8514280wrn.214.1576752753718; Thu, 19 Dec 2019 02:52:33 -0800 (PST) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id k4sm5889509wmk.26.2019.12.19.02.52.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2019 02:52:32 -0800 (PST) Subject: Re: [PATCH] nvmem: imx: scu: correct the fuse word index To: Peng Fan , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" Cc: "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Aisheng Dong , Andy Duan References: <1575438591-12409-1-git-send-email-peng.fan@nxp.com> From: Srinivas Kandagatla Message-ID: <1815fe19-4d0c-fbcd-7f44-010b010c00f7@linaro.org> Date: Thu, 19 Dec 2019 10:52:32 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1575438591-12409-1-git-send-email-peng.fan@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/12/2019 05:52, Peng Fan wrote: > From: Peng Fan > > i.MX8 fuse word row index represented as one 4-bytes word. > Exp: > - MAC0 address layout in fuse: > offset 708: MAC[3] MAC[2] MAC[1] MAC[0] > offset 709: XX xx MAC[5] MAC[4] > > The original code takes row index * 4 as the offset, this > not exactly match i.MX8 fuse map documentation. > > So update code the reflect the truth. > > Signed-off-by: Peng Fan > --- > drivers/nvmem/imx-ocotp-scu.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > Applied Thanks, srini