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 5F1D0C0015E for ; Thu, 27 Jul 2023 03:01:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 41AF486785; Thu, 27 Jul 2023 05:01:48 +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="LTJc9F6n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D7DA88679C; Thu, 27 Jul 2023 05:01:45 +0200 (CEST) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 29AD686784 for ; Thu, 27 Jul 2023 05:01:43 +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@chromium.org Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-348f2a8c0c5so1516485ab.3 for ; Wed, 26 Jul 2023 20:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690426901; x=1691031701; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bejak9t4WCo9OecKkkba3p6pHzAI3u4MAIOb+xOjDQk=; b=LTJc9F6nnG5hi4PJHYvKaGRvq5lfYgC/F2Z5f/P1JQqnef0qX4oKj1R7xvU6z9ncTC UzKB7cx3VW16DbVabD5iMh0hn3EJ67l/Brd6vVfwUBhdpp1OcwgHEt3DU6hEFD9W1Ghp rgIGI/nkxD2xPhQ72XIDTuGAk+08YHrz0Y3bE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690426901; x=1691031701; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bejak9t4WCo9OecKkkba3p6pHzAI3u4MAIOb+xOjDQk=; b=QSBP6gBIDPWYWsmmSqRJpBmAVqVCf1yPJShyHSZ23AVLL5JYpJHOYOR0MB5/OGX0Cp vjrgl5pG1ullKhYbgrtRVk0HzVh1TVXhg03K+lDdBRgDXi5SxD2Y3zI7J4mt/9pBVJRZ 522htjOtOhRHc0sGfhyKiojNsiIajo99vp1HtDKxolSEh3RTZeKU7BwrVAY44TOS01cs fGbjDiiTzqXQ/ltwbD8f7KOCXfBJUzmlGQBDqnq6drxWGeDlcdzKXGJ32Mo98J65EI/I KOiPTFyx7iTwbSesprYNQupcVZJ1QNfIwPUYOZoAzUBMiwT1eEetwnQpDUCSVYWBnkp8 bflQ== X-Gm-Message-State: ABy/qLZFYj89PNeD5Gh5HUj7vYmLE9hXPf0sQ/+vkLur6E3ZX2of9s4H UyEpwS22Gbz/pkNuwrXms+aT7nVbgHh8aG+Zf50= X-Google-Smtp-Source: APBJJlHY4KobS69dGwhM0vCfGQE7Pt8npbdlMK1a+Xv1O362lg7liJO8r7SY4tfW95IMRGKavQSFEg== X-Received: by 2002:a05:6e02:1aa4:b0:348:8b42:47d with SMTP id l4-20020a056e021aa400b003488b42047dmr4099871ilv.28.1690426900605; Wed, 26 Jul 2023 20:01:40 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id a14-20020a92d58e000000b00348d41ffd13sm207539iln.85.2023.07.26.20.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 20:01:40 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 0/5] bootstd: Fix some reported problems Date: Wed, 26 Jul 2023 21:01:20 -0600 Message-ID: <20230727030128.459760-1-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.8 at phobos.denx.de X-Virus-Status: Clean This little series fixes a few problems reported over the past few months. The main changes is to the EFI bootmeth, which now delays reading the .efi file until it is actually needed. Simon Glass (5): bootflow: Export setup_fs() bootstd: Use a function to detect network in EFI bootmeth bootstd: Avoid allocating memory for the EFI file bootstd: Init the size before reading the devicetree bootstd: Init the size before reading extlinux file boot/bootmeth-uclass.c | 23 ++++--------- boot/bootmeth_efi.c | 76 ++++++++++++++++++++++++++++++------------ boot/bootmeth_pxe.c | 3 ++ include/bootmeth.h | 13 ++++++++ 4 files changed, 76 insertions(+), 39 deletions(-) -- 2.41.0.487.g6d72f3e995-goog