{"id":2216057,"url":"http://patchwork.ozlabs.org/api/patches/2216057/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260325190020.3428514-1-trini@konsulko.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/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,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260325190020.3428514-1-trini@konsulko.com>","list_archive_url":null,"date":"2026-03-25T19:00:20","name":"spl: Remove unused CONFIG_SPL_FRAMEWORK_BOARD_INIT_F option","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"8fa248635e58bffb381a50854c27eac90102dfff","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/?format=json","name":"Tom Rini","email":"trini@konsulko.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260325190020.3428514-1-trini@konsulko.com/mbox/","series":[{"id":497486,"url":"http://patchwork.ozlabs.org/api/series/497486/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=497486","date":"2026-03-25T19:00:20","name":"spl: Remove unused CONFIG_SPL_FRAMEWORK_BOARD_INIT_F option","version":1,"mbox":"http://patchwork.ozlabs.org/series/497486/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2216057/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2216057/checks/","tags":{},"related":[],"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=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=QKewJyKl;\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=pass (p=none dis=none) header.from=konsulko.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com\n header.b=\"QKewJyKl\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com","phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.com"],"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 4fgx7T3XCgz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 06:00:37 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id EDB5C83CD3;\n\tWed, 25 Mar 2026 20:00:26 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id DB96983F86; Wed, 25 Mar 2026 20:00:25 +0100 (CET)","from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com\n [IPv6:2607:f8b0:4864:20::32b])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 96EA983AAB\n for <u-boot@lists.denx.de>; Wed, 25 Mar 2026 20:00:23 +0100 (CET)","by mail-ot1-x32b.google.com with SMTP id\n 46e09a7af769-7d7f09aa39fso189201a34.0\n for <u-boot@lists.denx.de>; Wed, 25 Mar 2026 12:00:23 -0700 (PDT)","from bill-the-cat.. (fixed-189-203-97-235.totalplay.net.\n [189.203.97.235]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7d9e6fde0d1sm518811a34.7.2026.03.25.12.00.21\n for <u-boot@lists.denx.de>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 25 Mar 2026 12:00:21 -0700 (PDT)"],"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 SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=konsulko.com; s=google; t=1774465222; x=1775070022; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=zIz5Iy2q+QCrDoKr77CawpoPk0gmdru0oTOun5N3aj8=;\n b=QKewJyKlqakeMP8Njm9L+UoKjT1oxmI1qksR/UOCNqB/uTRpiJ3m1byUbzLzRjk8fu\n j/tXAxgUxl8GpMWL5Nr7ppPETgNQaXpa9fOnowbXE/PuZgegoBlOvTKdMMXxT+1Fc/FR\n 8mD38ovOf2RUANel1lVqFdWmuQZlS8n36mxcA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774465222; x=1775070022;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=zIz5Iy2q+QCrDoKr77CawpoPk0gmdru0oTOun5N3aj8=;\n b=LKtwk750UstpOt62qKVCrhSQjFwO7B0b+jBsnAZV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2002:a05:6830:6f45:b0:7d7:b85f:25e7 with SMTP id\n 46e09a7af769-7d9d6a99aa9mr2295783a34.28.1774465222172;\n Wed, 25 Mar 2026 12:00:22 -0700 (PDT)","From":"Tom Rini <trini@konsulko.com>","To":"u-boot@lists.denx.de","Subject":"[PATCH] spl: Remove unused CONFIG_SPL_FRAMEWORK_BOARD_INIT_F option","Date":"Wed, 25 Mar 2026 13:00:20 -0600","Message-ID":"<20260325190020.3428514-1-trini@konsulko.com>","X-Mailer":"git-send-email 2.43.0","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>,\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":"The option CONFIG_SPL_FRAMEWORK_BOARD_INIT_F enables a simple\nboard_init_f function in SPL. This however is never enabled, so remove\nthis function and option.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\n common/spl/Kconfig |  9 ---------\n common/spl/spl.c   | 17 -----------------\n 2 files changed, 26 deletions(-)","diff":"diff --git a/common/spl/Kconfig b/common/spl/Kconfig\nindex 57b2bef5e541..a21b71ad5d19 100644\n--- a/common/spl/Kconfig\n+++ b/common/spl/Kconfig\n@@ -27,15 +27,6 @@ config SPL_FRAMEWORK\n \t  supports MMC, NAND and YMODEM and other methods loading of U-Boot\n \t  and the Linux Kernel.  If unsure, say Y.\n \n-config SPL_FRAMEWORK_BOARD_INIT_F\n-\tbool \"Define a generic function board_init_f\"\n-\tdepends on SPL_FRAMEWORK\n-\thelp\n-\t  Define a generic function board_init_f that:\n-\t  - initialize the spl (spl_early_init)\n-\t  - initialize the serial (preloader_console_init)\n-\t  Unless you want to provide your own board_init_f, you should say Y.\n-\n config SPL_SIZE_LIMIT\n \thex \"Maximum size of SPL image\"\n \tdefault 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB\ndiff --git a/common/spl/spl.c b/common/spl/spl.c\nindex 8256fa978629..722b18c98edc 100644\n--- a/common/spl/spl.c\n+++ b/common/spl/spl.c\n@@ -669,23 +669,6 @@ static int boot_from_devices(struct spl_image_info *spl_image,\n \treturn ret;\n }\n \n-#if defined(CONFIG_SPL_FRAMEWORK_BOARD_INIT_F)\n-void board_init_f(ulong dummy)\n-{\n-\tif (CONFIG_IS_ENABLED(OF_CONTROL)) {\n-\t\tint ret;\n-\n-\t\tret = spl_early_init();\n-\t\tif (ret) {\n-\t\t\tdebug(\"spl_early_init() failed: %d\\n\", ret);\n-\t\t\thang();\n-\t\t}\n-\t}\n-\n-\tpreloader_console_init();\n-}\n-#endif\n-\n void board_init_r(gd_t *dummy1, ulong dummy2)\n {\n \tu32 spl_boot_list[] = {\n","prefixes":[]}