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 191E8C4332F for ; Fri, 30 Sep 2022 16:28:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F371A84D8A; Fri, 30 Sep 2022 18:28:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="dCtjg/3N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BBEBA84D85; Fri, 30 Sep 2022 18:28:36 +0200 (CEST) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (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 DFFC884D8A for ; Fri, 30 Sep 2022 18:28:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2d.google.com with SMTP id h10so1393555qvq.7 for ; Fri, 30 Sep 2022 09:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=MkRTVVzCyiA01c9vLSRWDBM7fVbLbrA37PiFxTuCcho=; b=dCtjg/3NxFmZy1Q4oqOEney9MRI+NEreWJ98hvgM42SEteF+8uGheowNSDstFoT2GR wIHxsR3EzlSxYiGOuD44OsYac9qbhyn2QKvkl72/YNdMPlQLszIL4B0Lqcnlnui8/pEt 27eyzXr7X7A0o5Lvzoj/G2DVPTYLZC6/ePZSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=MkRTVVzCyiA01c9vLSRWDBM7fVbLbrA37PiFxTuCcho=; b=6zWxPdfjo/XijXhf1WpHd/jWz6zOUQhqFUtBXKXqPBsbuvonIdPWmq4AGRBPRjgwVL q7Oi4ilHdARBvYzPx64xM7cPCTzvmk8VEsk8ix7Ecn23JLIYEG2rF9LbAw/3gx0mtpRQ VopAoI2sSMT++NANBw8XKi2QFJrQKiM0IMNBAHW2I/a0l3ygdvCLIP23j+e5OBzKeVPT 10D/jEr10dDIb0xGiEMgjxFDm9jvE9iXItp8rhpMjSaAp27Rxy9O3R92ZdvaSyzJ/cfX tqLTn/azwivZYnndGk9BeFoXFJHkIekrVq45ECGG17SeblX1Zu2BVUFhuHSw6iixgdcb OBqw== X-Gm-Message-State: ACrzQf0hLUKodZdl9o2QZB+Wc2ZivELSWdPzTKBhP6r0JhCk1jFznT1a zSaMRltB1ISVmM1FK7THmtNvrg== X-Google-Smtp-Source: AMsMyM6kFZQiD7HfZSO2KI/FhLfqBjcFWLd1Rj5aIbtiC5cX+Dpm6xmwPum1FUDzA0na8P4gXOgFUQ== X-Received: by 2002:a05:6214:2587:b0:4af:a06f:f5b7 with SMTP id fq7-20020a056214258700b004afa06ff5b7mr7717208qvb.73.1664555311599; Fri, 30 Sep 2022 09:28:31 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-0186-ea3a-a82b-3964.res6.spectrum.com. [2603:6081:7b00:6400:186:ea3a:a82b:3964]) by smtp.gmail.com with ESMTPSA id n14-20020a05620a294e00b006ce622e6c96sm3191779qkp.30.2022.09.30.09.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 09:28:31 -0700 (PDT) Date: Fri, 30 Sep 2022 12:28:29 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Alper Nebi Yasak , Marek =?iso-8859-1?Q?Beh=FAn?= , Pali =?iso-8859-1?Q?Roh=E1r?= , Stefan Roese Subject: Re: [PATCH 31/45] spl: Allow multiple loaders of the same type Message-ID: <20220930162829.GV3044094@bill-the-cat> References: <20220925150248.2524421-1-sjg@chromium.org> <20220925150248.2524421-32-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="F5PMopVgTaFKhUu5" Content-Disposition: inline In-Reply-To: <20220925150248.2524421-32-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean --F5PMopVgTaFKhUu5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 25, 2022 at 09:02:34AM -0600, Simon Glass wrote: > At present we only support a single loader of each time. Extra ones are Of each type not time, I assume. > ignored. This means that only one BOOT_DEVICE_BOARD can be used in the SPL > image. >=20 > This is inconvenient since we sometimes want to provide several > board-specific drivers, albeit at different priorties. Add support for > this. >=20 > This should have no functional change for existing boards. To be clearer here. Today I can build am335x_evm_defconfig, and it will have support for (among others) X/Y-MODEM and SD/MMC booting, and if SPL loads via SD card, it will look at that same slot and find U-Boot, or fail. This patch doesn't change that, yes? A later part of this series makes it possible, but not default? --=20 Tom --F5PMopVgTaFKhUu5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmM3GSkACgkQFHw5/5Y0 tyzv3wwAiAOcXPYZGls+m/D6RMy2z1BjbZDiT0KzsEVI1d3/5OqEdUvLPrTrvWsR 3SE6UX4UoF8c0Ynnv0bleHIxQi1ML+chvqicIKwRQ0oGYJpVar3u3FXkCRKt6zmP 0CqRuY1pB4ERboXFYCVJ9G49HKngG1YGWxm7AmAxNb+aY96p2GDdkvmRxdQHDcTT luvK9DT3H3V401Ivk+CVE5/nCtCnq4UmK3BQlnjc7Rs3q8iBoB930MklJ2RRZ12H viW0HHwBuB1FA4u2e7n5EYpXmCin5yPxU2G4QQrRkxTMKpl1h0UVxts33WPnmCN2 JDdUfhlZrcPK8IFOuvluu4HRHnaZ80/RoUofbKnQPfAeyB9whTfFHZxjhT+7xUZt Iblz/ajtIe7OSR2jF3frveRst2u0aehmTt6lXP9BofT0An8pbRBJLdF7MuBbAWba LCyqcB+qRR5mPOOIkY+kVEPhWGUG1c3TxgGm8SXUy5LcgcfiLmiKSZAzmxppr9DQ /tPajCEx =hYGy -----END PGP SIGNATURE----- --F5PMopVgTaFKhUu5--