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 55B6CC433EF for ; Fri, 8 Oct 2021 20:29:32 +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 760DB61058 for ; Fri, 8 Oct 2021 20:29:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 760DB61058 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 D1F4E833AE; Fri, 8 Oct 2021 22:29:28 +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="c+8EltA/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D84ED833E6; Fri, 8 Oct 2021 22:29:26 +0200 (CEST) Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) (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 C62B0832E8 for ; Fri, 8 Oct 2021 22:29:23 +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-ua1-x931.google.com with SMTP id a2so3453369uaq.10 for ; Fri, 08 Oct 2021 13:29:23 -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=2HEh8wUjCoZ+icCGiK2eIw25Dslpc3RFYpZ0ZliPoV4=; b=c+8EltA/GXbxa8mb4muFYH8kPjVLo54hxFTKtRxrjRT2NmHL/90iigLkT3nAiZFLqC uXYDeWYF5ZsEfo/c9RjuPYL9IdUT13ZGX0ChV5HZhUw2qMV4wk5gNCfOA+RswO09G6HP /VlsybXWS9RWqNUS99iYrM4hl8dv2uwDOnblM= 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=2HEh8wUjCoZ+icCGiK2eIw25Dslpc3RFYpZ0ZliPoV4=; b=Si6Y8KXnh7zhun7Ixts0K2e3Vfseyf9swmmEXCU+Aw83CPrVr22fgTWXGqPJymDWE+ iLnjaMq2f1QxgzETg1IiwWD/bfFC9Me33uoFtzuaCt4zBhO6Sf9MvSs52jG21EE0myk8 nURKBPHGsarkd7GO1ILbaPc6GPjh7y+fQVaQM/w9F5jTgESmVguABJ16OCyFbkJ8nABD O39aA0A8q0nbLds0ZUMPF831Sa4GtgjKbtIIysTyCkvwtmAxzilmljOBJnCFdN6n6C4u iMRADcSwonqlPA3n4zjWX0OvEGIn9LpcoShGAJbauGw2M3aB2wuo4NP8oqs1u4tKRiSs XajQ== X-Gm-Message-State: AOAM532Ki8nGc25/XnFK454uVOpCgaT/KwiBvb1bTNl+UYeQtH0Rpz+l 6bxWiovDXEz9xlmkAlneQfEyS0woUuNZgkUdrsB0VA== X-Google-Smtp-Source: ABdhPJwFTpYvQrwX3Vk3L/yxWT+6zQnOIZHVt2CkFPxCkffoRMOQhr4xFzgH1X4rzKmXu5eCa8CR47TUL0MlCv/i8tY= X-Received: by 2002:ab0:4a19:: with SMTP id q25mr5575895uae.143.1633724962210; Fri, 08 Oct 2021 13:29:22 -0700 (PDT) MIME-Version: 1.0 References: <20210919214937.3829422-1-sjg@chromium.org> <20210919214937.3829422-6-sjg@chromium.org> In-Reply-To: From: Simon Glass Date: Fri, 8 Oct 2021 14:29:11 -0600 Message-ID: Subject: Re: [PATCH v4 5/5] sf: Provide a command to access memory-mapped SPI To: Jagan Teki Cc: U-Boot Mailing List , Heinrich Schuchardt , Mike Frysinger 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 Hi Jagan, On Fri, 8 Oct 2021 at 06:47, Jagan Teki wrote: > > On Mon, Sep 20, 2021 at 3:19 AM Simon Glass wrote: > > > > Add a new 'sf mmap' function to show the address of a SPI offset, if the > > hardware supports it. This is useful on x86 systems. > > I'm not quite sure about growing sf for limited use cases, maybe > support it in existing arguments might be a good option. At least on x86 this is a common feature. What do you suggest for this? Can you give an example of what arguments might be used? Regards, Simon