{"id":2229912,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2229912/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260428-spl_fit_full-v1-4-dde63beeaab1@valla.it/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260428-spl_fit_full-v1-4-dde63beeaab1@valla.it>","date":"2026-04-28T20:24:45","name":"[4/5] spl: call ft_board_setup() and ft_system_setup() if enabled","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"9e1c08a71c9802ad23e7fea65e8956938ff97734","submitter":{"id":90982,"url":"http://patchwork.ozlabs.org/api/1.1/people/90982/?format=json","name":"Francesco Valla","email":"francesco@valla.it"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260428-spl_fit_full-v1-4-dde63beeaab1@valla.it/mbox/","series":[{"id":501930,"url":"http://patchwork.ozlabs.org/api/1.1/series/501930/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501930","date":"2026-04-28T20:24:41","name":"Enhance the SPL FIT \"full\" loading logic","version":1,"mbox":"http://patchwork.ozlabs.org/series/501930/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2229912/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2229912/checks/","tags":{},"headers":{"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;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=antispam.mailspamprotection.com\n header.i=@antispam.mailspamprotection.com header.a=rsa-sha256\n header.s=default header.b=sYuM6PZC;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=valla.it header.i=@valla.it header.a=rsa-sha256\n header.s=default header.b=h0AEL8bm;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=valla.it","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=antispam.mailspamprotection.com\n header.i=@antispam.mailspamprotection.com header.b=\"sYuM6PZC\";\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=valla.it header.i=@valla.it header.b=\"h0AEL8bm\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=valla.it","phobos.denx.de;\n spf=pass smtp.mailfrom=francesco@valla.it","\n outgoing.instance-europe-west4-czb4.prod.antispam.mailspamprotection.com;\n iprev=pass (214.173.214.35.bc.googleusercontent.com)\n smtp.remote-ip=35.214.173.214;\n auth=pass (LOGIN) smtp.auth=esm19.siteground.biz;\n dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256;\n arc=none"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4sQW06Ftz23cb\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 06:26:11 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 9AFA1846B2;\n\tTue, 28 Apr 2026 22:25:29 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 49D9D8467A; Tue, 28 Apr 2026 22:25:28 +0200 (CEST)","from delivery.antispam.mailspamprotection.com\n (delivery.antispam.mailspamprotection.com [185.56.87.3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id B4B7A84699\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 22:25:25 +0200 (CEST)","from 214.173.214.35.bc.googleusercontent.com ([35.214.173.214]\n helo=esm19.siteground.biz)\n by instance-europe-west4-czb4.prod.antispam.mailspamprotection.com with\n esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.1)\n (envelope-from <francesco@valla.it>) id 1wHozj-00000004yDJ-0DgP\n for u-boot@lists.denx.de; Tue, 28 Apr 2026 20:25:25 +0000","from [95.248.129.24] (port=64167 helo=[192.168.178.175])\n by esm19.siteground.biz with essmtpa  (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.99.1) (envelope-from <francesco@valla.it>)\n id 1wHozN-000000002Bh-1ttc; Tue, 28 Apr 2026 20:25:01 +0000"],"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,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2","ARC-Seal":"i=1; cv=none; a=rsa-sha256;\n d=outgoing.instance-europe-west4-czb4.prod.antispam.mailspamprotection.com;\n s=arckey; t=1777407925;\n b=NMuRmD/wpPCgnsxyHk2Rku19OEJJ6bmqVsFBGnzHMVn8g+j1omhMLXRWyF4GUn8F8UQSe4NEKK\n BtlEpkrv4XCadc96FAHNL1dAohPJc5J18HnjoCmKYFA6nLfuf8fvVqcjL0xMuKaKMmlWPMX2Fg\n 3wpq5HaZUfFMxG/hCg195eYUY3wD/hQwa0dDxZkNpDYz88munqQQCqLG2Z5ZkI70yUV96H8Eqn\n fwc7XroIvxWSVhELTnFvM3IVIzP4ftVt3BrMUCugwrtOT6DlU08Wpwg47KoFDZZY2Tx+SkYVjv\n 7pCCJKRGILf8+dmMUzS04gl1xDahLK4BkUieKtUvLwUc2w==;","ARC-Authentication-Results":"i=1;\n outgoing.instance-europe-west4-czb4.prod.antispam.mailspamprotection.com;\n smtp.remote-ip=35.214.173.214;\n iprev=pass (214.173.214.35.bc.googleusercontent.com)\n smtp.remote-ip=35.214.173.214;\n auth=pass (LOGIN) smtp.auth=esm19.siteground.biz;\n dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256;\n arc=none","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed;\n d=outgoing.instance-europe-west4-czb4.prod.antispam.mailspamprotection.com;\n s=arckey; t=1777407925;\n bh=Vtkw1d13pgCGzFx5/iuZVSpPpLbmnOa0KmKp9dj2oUA=;\n h=Cc:To:In-Reply-To:References:Message-ID:Content-Transfer-Encoding:\n Content-Type:MIME-Version:Subject:Date:From:DKIM-Signature:DKIM-Signature;\n b=tHizEMN1lhQdhNpZ9w+WAl1nugBGDTb07rQo+WFdSLc6g5eG85UGhWWFfRacb8RIdhhrVO/EHh\n QGWIIurFMF87znruAq9sLi/hS9TSd8d1WYwje3qOSYryfRcUW64DlpFkWN2NnsYaOHU/Au9Sxs\n jiGYPtkH26yfMFdu0pg6gv+PhM9HK7H36dJu+N4383LujgvwBLYI2nWb0niJErfFV6iZyhVOdy\n CsKLLKraXlJ1dDT21n8dA+rMQcXNYnHHHvcBIt+PezmykGfyy/G1xkyAqogdo+1fbK7EDLZ/gJ\n zpUVUihhvd5ofOlTWYOXAxof8GZQrpF50YGRDv5X1j6tZA==;","DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=antispam.mailspamprotection.com; s=default; h=CFBL-Feedback-ID:CFBL-Address\n :Cc:To:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject\n :Date:From:Reply-To:List-Unsubscribe;\n bh=ON75lvKOMG0aSPat7B2byBU8/0wkSVDxhSjtQfTDfdU=; b=sYuM6PZCPCq5Xm6XlIARambQJ3\n Foqkp111o1VU4tYJHRPxutr7CczedaPoyIG8VTBGuWivu6elWQLu/WiD74FUpWT4zgBnbUH/Q+rqN\n FjkRP61l13gpO9/1qiRD4/ez8KX8s2/lre2qlaBhu17cN/kASi9aVUMHJRRIIVhT/p8U=;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=valla.it;\n s=default; h=Cc:To:Subject:Date:From:list-help:list-unsubscribe:\n list-subscribe:list-post:list-owner:list-archive;\n bh=ON75lvKOMG0aSPat7B2byBU8/0wkSVDxhSjtQfTDfdU=; b=h0AEL8bmlYwvYj4mCjpsCcjMT4\n 3bFsaRFePG596XboNfCRbUnt9mk21Md5NXveoMEjFOzMsME6jCLRh0D3nuEKHBWNZRM0kFI9GC0G/\n a86XP88YA14C0zFGiUvbyEk3vd+xLaCNGylCWwHWp+ONRBJq9RbE3QIxA/Qz5u7ERbj0=;"],"From":"Francesco Valla <francesco@valla.it>","Date":"Tue, 28 Apr 2026 22:24:45 +0200","Subject":"[PATCH 4/5] spl: call ft_board_setup() and ft_system_setup() if\n enabled","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260428-spl_fit_full-v1-4-dde63beeaab1@valla.it>","References":"<20260428-spl_fit_full-v1-0-dde63beeaab1@valla.it>","In-Reply-To":"<20260428-spl_fit_full-v1-0-dde63beeaab1@valla.it>","To":"u-boot@lists.denx.de","Cc":"Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Julien Stephan <jstephan@baylibre.com>,\n Frank Wunderlich <frank-w@public-files.de>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,\n Anshul Dalal <anshuld@ti.com>, Leo Yu-Chi Liang <ycliang@andestech.com>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Ronald Wahl <ronald.wahl@legrand.com>, Simon Glass <sjg@chromium.org>,\n Dhruva Gole <d-gole@ti.com>,\n Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n Rasmus Villemoes <ravi@prevas.dk>, Michael Walle <mwalle@kernel.org>,\n Marek Vasut <marek.vasut@mailbox.org>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n Richard Genoud <richard.genoud@bootlin.com>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n David Lechner <dlechner@baylibre.com>, Francesco Valla <francesco@valla.it>","X-Mailer":"b4 0.16-dev","X-Developer-Signature":"v=1; a=openpgp-sha256; l=1081; i=francesco@valla.it;\n h=from:subject:message-id; bh=Vtkw1d13pgCGzFx5/iuZVSpPpLbmnOa0KmKp9dj2oUA=;\n b=owGbwMvMwCX2aH1OUIzHTgbG02pJDJkfxad3P7p5S07FT0KVY/n52n2zhJ7NiPc7uf2P7PRyn\n w6dk09tO0pZGMS4GGTFFFlC1t24t2eu+be0DYyPYOawMoEMYeDiFICJHD3M8E9XW1Ejcdf/B2Gn\n WtclH9n2+rOrh14Yk2/GVNM8X2n9iQqMDA8/ab7Y653YX+e0I/dXhuSBj4nZSdPOFuvcuaN1vYN\n Rlg0A","X-Developer-Key":"i=francesco@valla.it; a=openpgp;\n fpr=CC70CBC9AA13257C6CCED8669601767CA07CA0EA","X-AntiAbuse":["This header was added to track abuse,\n please include it with any abuse report","Primary Hostname - esm19.siteground.biz","Original Domain - lists.denx.de","Originator/Caller UID/GID - [47 12] / [47 12]","Sender Address Domain - valla.it","ID - 6315f20a0d3262df70362e1ed68a01d3"],"X-Source":"","X-Source-Args":"","X-Source-Dir":"","X-SGantispam-id":"6315f20a0d3262df70362e1ed68a01d3","AntiSpam-DLS":"false","AntiSpam-DLSP":"","AntiSpam-DLSRS":"","AntiSpam-TS":"1.0","CFBL-Address":"feedback@antispam.mailspamprotection.com; report=arf","CFBL-Feedback-ID":"\n 1wHozj-00000004yDJ-0DgP-feedback@antispam.mailspamprotection.com","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>,\n <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>,\n <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"},"content":"If board and system FDT setups are enabled by the corresponding\nconfiguration options, perform them also in SPL. This aligns the\nbehavior of FIT loading from SPL and U-Boot proper in this aspect,\nreducing the need for custom code in falcon boot setups.\n\nSigned-off-by: Francesco Valla <francesco@valla.it>\n---\n common/spl/spl.c | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)","diff":"diff --git a/common/spl/spl.c b/common/spl/spl.c\nindex 722b18c98edc..a09ebac62c2a 100644\n--- a/common/spl/spl.c\n+++ b/common/spl/spl.c\n@@ -156,6 +156,22 @@ void spl_fixup_fdt(void *fdt_blob)\n \t\tprintf(PHASE_PROMPT \"arch_fixup_fdt err - %d\\n\", err);\n \t\treturn;\n \t}\n+\n+\tif (IS_ENABLED(CONFIG_OF_BOARD_SETUP)) {\n+\t\terr = ft_board_setup(fdt_blob, gd->bd);\n+\t\tif (err) {\n+\t\t\tprintf(PHASE_PROMPT \"ft_board_setup err - %d\\n\", err);\n+\t\t\treturn;\n+\t\t}\n+\t}\n+\n+\tif (IS_ENABLED(CONFIG_OF_SYSTEM_SETUP)) {\n+\t\terr = ft_system_setup(fdt_blob, gd->bd);\n+\t\tif (err) {\n+\t\t\tprintf(PHASE_PROMPT \"ft_system_setup err - %d\\n\", err);\n+\t\t\treturn;\n+\t\t}\n+\t}\n #endif\n }\n \n","prefixes":["4/5"]}