Message ID | 20221207085137.445249-51-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Sf909cGF; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NRrxN63gpz23ns for <incoming@patchwork.ozlabs.org>; Wed, 7 Dec 2022 20:06:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9EE2485707; Wed, 7 Dec 2022 09:56:56 +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="Sf909cGF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E3C2C856DB; Wed, 7 Dec 2022 09:56:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 1F808856DB for <u-boot@lists.denx.de>; Wed, 7 Dec 2022 09:56:48 +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@chromium.org Received: by mail-pj1-x1032.google.com with SMTP id 3-20020a17090a098300b00219041dcbe9so937180pjo.3 for <u-boot@lists.denx.de>; Wed, 07 Dec 2022 00:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=czfHLI6KTY2HlrxVanHnv+0SbGOk8baBZObrrEFBXLY=; b=Sf909cGFqi1zFKb9oAZCRb2xXx6WdfUlJQxy1iyjrVNY+ddFKzIM0hez/xIDnGzpWo 2/ChRgz4NZey+QPnOGz1mlkTF478KGFhvgrF/FoLQIsLQPqKIKcc7Z54vCIK8mbzokib zkg+Wq+KnXTVb4hOrk39vy66mhhhmpcqweCXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=czfHLI6KTY2HlrxVanHnv+0SbGOk8baBZObrrEFBXLY=; b=a01Q8Em4xyHUHAIWEtDVyk4pJJxbgGhJWnlYZ/cm3vJuQpa/bDznuXzTEsA69PieM2 0F1lGeka+v5wHNanZ9KFIE93fHY4lC+MB26B7Ktwm4zNWqsa0qxZS7Dpv4qB9lx8t68V YsZ3OJcXx5e7UqauyPU16X5EtEKja0eKnqLG1Z/A4pufEm0WsdT/3mmWAi6WFdwKlPJw 7tpdYriTj2FwdTqco2PA3IYij1+hK/F370zxpo1RfqNOgvZeB/HCwP2eVw/UxoQ/Z71j s5bMRTClcfUMcMJtNDRsak5LsRrI2nnOz/Kid7OSc/ekh6mM5/yyraNZT0bm1+btN9R+ DMZg== X-Gm-Message-State: ANoB5pkDWfzmTt9YssIZB6iRYY9yOBwfGd9TfjhFuBHVdUlBc9qAMbLb AMPBw1QYV81SFDuTMJmv+YelVxihlmDOLZik X-Google-Smtp-Source: AA0mqf7iuMvZkETr7iNqkSbkEjivuPufpFqw/J7XXLJ9NKAYojycMoF2sXOu+FCx6RYr12idFiEZjQ== X-Received: by 2002:a17:90a:8c96:b0:218:7e9d:8d0a with SMTP id b22-20020a17090a8c9600b002187e9d8d0amr92544110pjo.41.1670403406270; Wed, 07 Dec 2022 00:56:46 -0800 (PST) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id l16-20020a170903121000b0018157b415dbsm14145514plh.63.2022.12.07.00.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 00:56:46 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: U-Boot Custodians <u-boot-custodians@lists.denx.de>, Simon Glass <sjg@chromium.org> Subject: [PATCH 50/71] bootstd: Update docs on bootmeth_try_file() for sandbox Date: Wed, 7 Dec 2022 21:51:16 +1300 Message-Id: <20221207085137.445249-51-sjg@chromium.org> X-Mailer: git-send-email 2.39.0.rc0.267.gcb52ba06e7-goog In-Reply-To: <20221207085137.445249-1-sjg@chromium.org> References: <20221207085137.445249-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
bootstd: Allow migration from distro_bootcmd scripts
|
expand
|
diff --git a/include/bootflow.h b/include/bootflow.h index 75f2064f47c..f77bfb6eace 100644 --- a/include/bootflow.h +++ b/include/bootflow.h @@ -39,7 +39,7 @@ enum bootflow_state_t { * @glob_node: Points to siblings in the global list (all bootdev) * @dev: Bootdevice device which produced this bootflow * @blk: Block device which contains this bootflow, NULL if this is a network - * device + * device or sandbox 'host' device * @part: Partition number (0 for whole device) * @fs_type: Filesystem type (FS_TYPE...) if this is fixed by the media, else 0. * For example, the sandbox host-filesystem bootdev sets this to diff --git a/include/bootmeth.h b/include/bootmeth.h index 50ded055f3f..ba9e3667e52 100644 --- a/include/bootmeth.h +++ b/include/bootmeth.h @@ -240,7 +240,7 @@ int bootmeth_set_order(const char *order_str); * caller before reading the file. * * @bflow: Information about file to try - * @desc: Block descriptor to read from + * @desc: Block descriptor to read from (NULL for sandbox host) * @prefix: Filename prefix to prepend to @fname (NULL for none) * @fname: Filename to read * Return: 0 if OK, -ENOMEM if not enough memory to allocate bflow->fname,
Mention that this function is also used with a NULL block devices to access files on the host, when using sandbox. Update the comment on struct bootflow also. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/bootflow.h | 2 +- include/bootmeth.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)