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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 962E4C433EF for ; Thu, 30 Sep 2021 04:14:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F0EEF613DA for ; Thu, 30 Sep 2021 04:14:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F0EEF613DA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ADC3A83121; Thu, 30 Sep 2021 06:14:09 +0200 (CEST) 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="UJVcbEDZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9F2F080FA0; Thu, 30 Sep 2021 06:09:40 +0200 (CEST) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 B41C880FA0 for ; Thu, 30 Sep 2021 06:09:27 +0200 (CEST) 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-ot1-x32c.google.com with SMTP id g62-20020a9d2dc4000000b0054752cfbc59so5695595otb.1 for ; Wed, 29 Sep 2021 21:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bOFv23kMlIy9GaN2m5bHU+PxYW42fgSbzIN+/FaChkA=; b=UJVcbEDZqgOTWSTTivOREuFoBpeSONs4VTFcrvMGTCEQYWmZ5SvEOaUSXuqSS1HiO3 pk+9/oBXHwV4/k+lrEXepkzwUoXKi89mSTp6lYgxS+1SsIIBBkTVgoDUpRVtMnA+N/l2 oAf9GWgdZUS/CKdy4nIzWSpECIfaw5TGF9RMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bOFv23kMlIy9GaN2m5bHU+PxYW42fgSbzIN+/FaChkA=; b=5O/S3lzA04R/VlwMq5ivA+LWYoiIye8jYGBHjhCrGhirdjtvXPP5eypzFTeA2o0j89 83+lQ1lddf3XNBZZ0ubDKWUC3/ZJBnNY0dTTg9gePJ5DhnICflzeIxZZ2N+HoHzB2zD9 rohots9WukcWm7ZNCkfF6dXpA5Jfhfgdv/3+JsXbwa9h6nMG7UR+/YA21U/NJs2BtkLX j1ephGDEgEa+aCROliNrY3xlP4d6F9XP73L4l1dvcL3I9sdV40BXRZttRC3r3aOZ3CzL 8oFKLMNT7dSGwF5fIUHujhiH51tcx6FuXIwKEAp7NN/sZdn6EKSJTHRoqnmj+HRvtsd3 1npg== X-Gm-Message-State: AOAM530p4+jmCQtSUbj3H0VUtFaFjJvJNluE0AbdVaUbY9WHL7GFZuKv lWByUQXHIczF5ZMGkVRs9S/dc3qmMFrpDM0foK1iCQ== X-Google-Smtp-Source: ABdhPJwuwpKIuVKvhAilZsa9u9ticfLOosSJiTFOvVJyiHsADk6VKB+VnEJQ6MHomhw4c894tr39v6l73wYN4EJ2chw= X-Received: by 2002:a05:6830:31a5:: with SMTP id q5mr3256533ots.191.1632974966126; Wed, 29 Sep 2021 21:09:26 -0700 (PDT) MIME-Version: 1.0 References: <20210912031516.24885-1-bmeng.cn@gmail.com> <20210912031516.24885-6-bmeng.cn@gmail.com> In-Reply-To: <20210912031516.24885-6-bmeng.cn@gmail.com> From: Simon Glass Date: Wed, 29 Sep 2021 22:09:06 -0600 Message-ID: Subject: Re: [PATCH 6/9] dm: Provide dev_read_addr_index_ptr() wrapper To: Bin Meng Cc: Rick Chen , Leo Yu-Chi Liang , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Sat, 11 Sept 2021 at 21:15, Bin Meng wrote: > > Like dev_read_addr_ptr(), provide a wrapper for the indexed version. > > Signed-off-by: Bin Meng > --- > > include/dm/read.h | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > Reviewed-by: Simon Glass