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 23B0AC433EF for ; Fri, 12 Nov 2021 15:39:31 +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 8F67160F0F for ; Fri, 12 Nov 2021 15:39:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8F67160F0F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 DB2A18300A; Fri, 12 Nov 2021 16:39:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="c18xEWAo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9281882FF5; Fri, 12 Nov 2021 16:39:16 +0100 (CET) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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 D0E4482FF5 for ; Fri, 12 Nov 2021 16:39:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2a.google.com with SMTP id i13so6517368qvm.1 for ; Fri, 12 Nov 2021 07:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TvmMLm57OrSrDfADsOru9/RAqy7e3qGUkvVa6bEnqJM=; b=c18xEWAo84gbBtqi0US0yet1Epvc8FGzJTaaBE6yCrZcUOSeZV/oDlnzcyOMU++kDC B2yHUvFsu6gfmYvo2H4/iYRGmBI0bngmKADzd6IdCRyvCUYpwN68VzL3PXidqmQFvMYX rBCjq+rtO7ToVErJ25uCnJZAhZ82eZ5b0/bkk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TvmMLm57OrSrDfADsOru9/RAqy7e3qGUkvVa6bEnqJM=; b=HenMJTyMki7uzkeJGFv0MnX1yjNN+9ciedRQdV8MaOZ87gdpJQqPqZkbfFbLGa332O Hkcmvu21vFosmbXUQBKyxSWuFDPV7dK+Zk+k9HA9IzU43sZSENl6lbBwhdBPw4icd53h BECBPSuwXOum0e6/oFKuh0EFZx0QAT9LmI6FwYscy3hgSRPLxTGB7wbaG9hG8coQvUsP gzkQXyDWTnX0qMTfYHLSgexc8Kc66MNmwCqhQUwI9HswWadGD14ZIV1gQ/hqkydyQxDJ BX1uIbIqsu5cvL5Z2CKOWvFbn/XimYAPszZGgKdDKqYCADTXCZUSXHTSjneVjad6hVXs kN7w== X-Gm-Message-State: AOAM532xJvYvjmikCeSEFgzAehzAysQBrX1yGYnmUeX5CUKqYVYfI7pr TqJHnAtsNp40QAEgqPglRf++uQ== X-Google-Smtp-Source: ABdhPJxP3KWbicmlh2libxe+4nnUDD6itBVXDGJPWxKF4qyMyMQUtGQnskzoEwRcByHOgk8DxSapMw== X-Received: by 2002:ad4:40c6:: with SMTP id x6mr15514239qvp.32.1636731547667; Fri, 12 Nov 2021 07:39:07 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-99df-60fa-a7c9-fbd2.res6.spectrum.com. [2603:6081:7b01:cbda:99df:60fa:a7c9:fbd2]) by smtp.gmail.com with ESMTPSA id e10sm3195249qtx.66.2021.11.12.07.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 07:39:07 -0800 (PST) Date: Fri, 12 Nov 2021 10:39:04 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Patrice Chotard , Artem Lapkin , Joe Hershberger , Heinrich Schuchardt , Peter Hoyes Subject: Re: [PATCH v3 03/18] pxe: Use a context pointer Message-ID: <20211112153904.GB24579@bill-the-cat> References: <20211014184811.482560-1-sjg@chromium.org> <20211014184811.482560-4-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/dLWkdqvW7eyw3rp" Content-Disposition: inline In-Reply-To: <20211014184811.482560-4-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 --/dLWkdqvW7eyw3rp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 14, 2021 at 12:47:56PM -0600, Simon Glass wrote: > At present the PXE functions pass around a pointer to command-table entry > which is very strange. It is only needed in a few places and it is odd to > pass around a data structure from another module in this way. >=20 > For bootmethod we will need to provide some context information when > reading files. >=20 > Create a PXE context struct to hold the command-table-entry pointer and > pass that around instead. We can then add more things to the context as > needed. >=20 > Signed-off-by: Simon Glass > Reviewed-by: Artem Lapkin > Tested-by: Artem Lapkin > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! --=20 Tom --/dLWkdqvW7eyw3rp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGOipgACgkQFHw5/5Y0 tyyNjAv/d61sAu2c8bkPm+a4UNAqJH1EEaCw3VUd2bt6FoeXtqUfRcJHSMo+0kMx GWMLDxL/+zlAHiz3btyUt6Grytt4lOV4Yw5Yw3ax113Hd7jf2FDyaA+0cVLfqObR Swi9lPOpvSjhlLtDcHDcexGbsLUFZhqZTU3zRsUAvIcRRj1G+uHXr1G9HWk6CmSA My2LGguBWnem5BSJT2Ydo4duD1GMlMlJP+/nPH8QgelCRIAyyu40Y9yEKGBZxjlC rL2ge9556y5hviWqExRyXWj7Tc8SYWmVTOPx1lG2s6LbBpjgyWinyyNwWypCIUqi RkJttDA6VkWOw8Z5pktpreKTUEnHiwZNemDWhYoVn2t6NCLOk7bsaYlf8d++UIYI 6LCEDq/mylRZ8vpLgPl80bouZ9Xl3UwDdP9GDAoH3yUzkhFoa06u3m4WTmIMNwnp 2gMdigP6iIbmKqzO5RPLKIaElYp0LME076qlniQG6+x4sRSQdb45R89ByPDvU+iZ kW3OI1ME =myEF -----END PGP SIGNATURE----- --/dLWkdqvW7eyw3rp--