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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2223C433EF for ; Fri, 24 Sep 2021 02:49:45 +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 4E62961090 for ; Fri, 24 Sep 2021 02:49:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4E62961090 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 F041C83427; Fri, 24 Sep 2021 04:49:36 +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="ZIWvpFWE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 28A0C8348A; Fri, 24 Sep 2021 04:49:21 +0200 (CEST) Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (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 9BE2B83484 for ; Fri, 24 Sep 2021 04:49:12 +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-x92d.google.com with SMTP id u11so5616932uaw.3 for ; Thu, 23 Sep 2021 19:49:12 -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=RE0Xoc5hRNANGurJnmp5SGJVBK14B3SA+bnmV+yTPtM=; b=ZIWvpFWENXm/g9//ROnUeJUXwJ+x8Q6Dm24qk/m0QXuuwiLwH3Q2rxI93QzUFXkYB4 eXHMqpOaCkxXG6vZDH11COmJtUnH4pxGgOhAsK0HiVUGYnx3gm1tWIYyR50OrTRRpDlQ KPB3Tp2RW/M2tIO2YdoXHpuXlVA/kKc8lNDHc= 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=RE0Xoc5hRNANGurJnmp5SGJVBK14B3SA+bnmV+yTPtM=; b=cRGRbqR2b1rgEA2zftnK/2nDCfYABPeKDOeGGakzQXf5aGLWHrb0h3m6HYLooWyP9P sI1mrOOQyDGFcJRnAjT3JEVZ0nt312xKM5+e9AHiE/WBNsvFFOt0BPk54AjMG1fDuJBr LIMlkd/63VyX5mCuuihHoOysOeJVzaXktHB4/4+pJX3RWl173Eu6Lx3Prad7iTa69oEB b+n9p06RTel9BMovMdNgvsit2eg7BmB7JJztQc5TsO6HaN/paOrMEAzEWzcSqpmlSj2H IwuZxsIFEVb8y/QTGh+/W8h99J8d+F9kyRTarr9KL0mGXbm0HaRJY/IfBOd56JtZtTy/ IzGw== X-Gm-Message-State: AOAM533iojBJn6niY1+EVD3xNmRaRzJd5KlYla9gDbh2OA8AFSfeYvsE r3iCgyGTx/hLsozTae8feONjpIf3CZLb9Vi2rzSLRl6e4sM= X-Google-Smtp-Source: ABdhPJwpj96uo+8V+rpRZQxiHOa220VjSQ+ldKPHOZruNVX/vjH8uH+TuOMzFZiUV8NyQggbgWNo86uzo25INJ3y9qk= X-Received: by 2002:ab0:4a19:: with SMTP id q25mr742293uae.143.1632451750967; Thu, 23 Sep 2021 19:49:10 -0700 (PDT) MIME-Version: 1.0 References: <20210819034033.1617201-1-sjg@chromium.org> <20210818214022.9.Ifb64a64e67b3777340ca034ed6d3a7a02143696c@changeid> <20210923020913.GX31748@bill-the-cat> In-Reply-To: <20210923020913.GX31748@bill-the-cat> From: Simon Glass Date: Thu, 23 Sep 2021 20:48:59 -0600 Message-ID: Subject: Re: [PATCH 09/11] sandbox: Add a way to map a file into memory To: Tom Rini Cc: U-Boot Mailing List , Heinrich Schuchardt , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Patrick Delaunay 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 Marek, On Wed, 22 Sept 2021 at 20:09, Tom Rini wrote: > > On Wed, Aug 18, 2021 at 09:40:31PM -0600, Simon Glass wrote: > > > It is useful to map a file into memory so that it can be accessed using > > simple pointers. Add a function to support this. > > > > Signed-off-by: Simon Glass > > Applied to u-boot/next, thanks! I'll send a new patch for your comment. I have it locally but the mmc malloc() thing needs a substantial effort to resolve, so I'm not sure when I'll send this. Regards, Simon