Message ID | 20231108164858.3497420-1-seanga2@gmail.com |
---|---|
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; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=kyY10pzW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SQWJX1C5Xz1yQl for <incoming@patchwork.ozlabs.org>; Thu, 9 Nov 2023 03:49:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16D728755B; Wed, 8 Nov 2023 17:49:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kyY10pzW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 621A5871AB; Wed, 8 Nov 2023 17:49:06 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (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 C4A24871AB for <u-boot@lists.denx.de>; Wed, 8 Nov 2023 17:49:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-3b2b1af09c5so3429427b6e.0 for <u-boot@lists.denx.de>; Wed, 08 Nov 2023 08:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699462141; x=1700066941; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CzdXB1sthp1NUiYSFf7nB+rmZs553lE0YRG+xjqEi8U=; b=kyY10pzWtJetFnBbHyA1rY0iMWM3923RSKAEmNv4LnPs1lHeFhmksFPL6rz/hYqP2V dHGvlw+oyyxtfa5RwbXG5O8d27Yv3malsN2/K/GTqsV7rIKFNILaRz4Ztl8Zb67Nt2l/ h89KWrf7XCcVbEEF6yT+1uNjqKIqiS3YIyq9Fx+pwEpRVLkB1ObTXiZwAGJUiVZnLPfG +4IrT0H+SqVmF3a9vBfJG3tqDE2eD1fx0rI+pEo2CS7L4F9yKWv+fxAMdHc0aZG8nyAu hmytTtH3Gn9nzU+MtpBR0jdRVRXKgwFxw1eEQRO/fdTSTTrWOXaM9gLOXF8ivBVz4iB5 933Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699462141; x=1700066941; 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=CzdXB1sthp1NUiYSFf7nB+rmZs553lE0YRG+xjqEi8U=; b=fQ0VRQ1kSV693QjRzoa3DKiwBGdrimjn52BWoZDv8olIjtCJY7Fbitc7a5ZP4Z5fi/ ZJXgRd3lsvsiNAwF3iCnnaV/b4BsRRYReOlMHbcMCL1yOV3+0S2tUYfGNnAnj8otmhpG 3wOi76MzPpIg1ykRS+7mGpsJf2izxs+E3f4uKFuBSMm+N2o3Ojc2ZAcIktzF8YOmKhC3 Q/h2ZMRJEVBTdz3m1udcq3OVQXG7nWcLL1RWMEplL6LU59vqaexxg8RrU0yji1xkbOyF LeNEBmK5kJoVaZiCH7mnyp4XsgKo3d5+xlOYC3UVNTJ8ToHNG6brXIxgwjToNkaazXxS QBQw== X-Gm-Message-State: AOJu0YwoaBWcalA+VVd0i8O4SLJcRYIAbpn6//FiwJMc4Hml9QNj9ZMi kAQBKDcpDaBVlraJI1EPy3Q= X-Google-Smtp-Source: AGHT+IEtyGCFUTzjdQbEz4//pLPChqvICGcJRCoafSw3XYpqGfY+gb/IWDvTTg3DS2BZ/7W8KgGNog== X-Received: by 2002:a05:6808:8d9:b0:3b2:e233:1e7 with SMTP id k25-20020a05680808d900b003b2e23301e7mr2321329oij.49.1699462141151; Wed, 08 Nov 2023 08:49:01 -0800 (PST) Received: from localhost (pool-108-48-157-169.washdc.fios.verizon.net. [108.48.157.169]) by smtp.gmail.com with UTF8SMTPSA id qb1-20020ad44701000000b0065d03eae7a0sm1244997qvb.82.2023.11.08.08.49.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Nov 2023 08:49:00 -0800 (PST) From: Sean Anderson <seanga2@gmail.com> To: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de Cc: =?utf-8?q?Marek_Beh=C3=BAn?= <marek.behun@nic.cz>, Xavier Drudis Ferran <xdrudis@tinet.cat>, Marek Vasut <marex@denx.de>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Stefan Roese <sr@denx.de>, Sean Anderson <seanga2@gmail.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Fabio Estevam <festevam@gmail.com>, Jaehoon Chung <jh80.chung@samsung.com>, Jagan Teki <jagan@amarulasolutions.com>, Joe Hershberger <joe.hershberger@ni.com>, Mayuresh Chitale <mchitale@ventanamicro.com>, Michael Trimarchi <michael@amarulasolutions.com>, Michal Simek <michal.simek@amd.com>, Nathan Barrett-Morrison <nathan.morrison@timesys.com>, Peng Fan <peng.fan@nxp.com>, Ramon Fried <rfried.dev@gmail.com>, Stefano Babic <sbabic@denx.de>, Vignesh R <vigneshr@ti.com>, uboot-imx@nxp.com Subject: [PATCH v7 00/26] spl: Use common function for loading/parsing images Date: Wed, 8 Nov 2023 11:48:32 -0500 Message-Id: <20231108164858.3497420-1-seanga2@gmail.com> X-Mailer: git-send-email 2.37.1 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 <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.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
spl: Use common function for loading/parsing images
|
expand
|
On Wed, 08 Nov 2023 11:48:32 -0500, Sean Anderson wrote: > This series adds support for loading all image types (Legacy (with and without > LZMA), FIT (with and without LOAD_FIT_FULL), and i.MX) to the MMC, SPI, NOR, > NET, FAT, EXT, NVMe, and semihosting load methods. It does this by introducing a > helper function which handles the minutiae of invoking the proper parsing > function, and reading the rest of the image. > > Hopefully, this will make it easier for load methods to support all image types > that U-Boot supports, without having undocumented unsupported image types. I > applied this to several loaders which were invoking spl_load_simple_fit and/or > spl_parse_image_header, but I did not use it with others (e.g. DFU/RAM) which > had complications in the mix. > > [...] Applied to u-boot/next, thanks!