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 CF40AC433EF for ; Thu, 25 Nov 2021 00:15:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8BC4683773; Thu, 25 Nov 2021 01:13:50 +0100 (CET) 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="kOWmZzc6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2715D8365E; Thu, 25 Nov 2021 01:12:56 +0100 (CET) Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (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 824AD82F89 for ; Thu, 25 Nov 2021 01:12:45 +0100 (CET) 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-oi1-x232.google.com with SMTP id 7so8691238oip.12 for ; Wed, 24 Nov 2021 16:12:45 -0800 (PST) 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=UioFGmIQgTNqojj6OkA+LE33dDl8gGJvs8dlN02tvvg=; b=kOWmZzc6P4suut9Jeeyx7+vzroi/w7/8xnqL+/thxz/FXLWQbNmO4K4fsNU344wdjS eO9GzPXo4fgTlPXoi2RBY4d/2IYpxkNbqS+Bpip1mxQ0KBtYRZxgJk69/vFIh06SxT5U RTh1RV+/ohSByYSr2dMPJqUpq3TcPnDaViVww= 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=UioFGmIQgTNqojj6OkA+LE33dDl8gGJvs8dlN02tvvg=; b=nstZpryrB90BGRjHbvXzB1osUv65vR9FcBlfD7SR9t2DW+5SQf7120QoF2mOw/aznP PAvoOatiOjdfcTmDecywNj/NDKkFskMx/hVbB3eG/rLE4IulGrduCl9ISZRCjSd8CWfD nERTKGk3/Ot3R2j3WF94pdd9cwqsFYllVj1kcL0ywhHgedbySKm0H0lq4za7zlMt1RiT t3APPm6LFf2Vbfrm9nPpFH8wjxTwGhCmf/5s1aZfeCzSHaEX+AC31bS6rnNJBT/eVeFE JFhBjBzVB1B65v/M67ivnzKE5XXh4ro0i64gt9ww8mTYI4AHruKdzagD/e6JgvXuFWP5 QwVQ== X-Gm-Message-State: AOAM530bIh7FdO/yF1WGmaqJrO1XgkD0rQhnPcR7zogG5USbg42w3tDR nlzIAFKxT+NtpUL6qec7UdJWQRF7qUiXuU2JUYakhA== X-Google-Smtp-Source: ABdhPJzf8t3PL7XxPLexMftCKvX73UMK1j2E7kU8kmyZEY3V48gParB6oSOroekRj3xzQBzzDod5pTPbxtoTLRSI2/s= X-Received: by 2002:a05:6808:3a3:: with SMTP id n3mr10882443oie.81.1637799163924; Wed, 24 Nov 2021 16:12:43 -0800 (PST) MIME-Version: 1.0 References: <20210919214937.3829422-1-sjg@chromium.org> <20210919214937.3829422-6-sjg@chromium.org> <35de6992-6b1d-6fb0-9c22-346c0a393941@gmx.de> In-Reply-To: <35de6992-6b1d-6fb0-9c22-346c0a393941@gmx.de> From: Simon Glass Date: Wed, 24 Nov 2021 17:12:30 -0700 Message-ID: Subject: Re: [PATCH v4 5/5] sf: Provide a command to access memory-mapped SPI To: Heinrich Schuchardt Cc: Jagan Teki , Mike Frysinger , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 Heinrich, On Sat, 13 Nov 2021 at 04:47, Heinrich Schuchardt wrote: > > > > On 9/19/21 23:49, Simon Glass wrote: > > Add a new 'sf mmap' function to show the address of a SPI offset, if the > > I would expect a 'spi info' command to provide this information. Why is that? It depends on the size of actual SPI-flash device. It is not a property of the SPI bus, so far as I understand it. Regards, Simon