Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2228326/?format=api
{ "id": 2228326, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228326/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260426-qcom_spl-v4-7-8cf4133ff883@seznam.cz/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/projects/18/?format=api", "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": "<20260426-qcom_spl-v4-7-8cf4133ff883@seznam.cz>", "date": "2026-04-25T23:26:09", "name": "[v4,07/11] mach-snapdragon: Kconfig: changes / additions to support SPL", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "02ff96df783f4db30f7f169b96b449047f7bbc5e", "submitter": { "id": 77645, "url": "http://patchwork.ozlabs.org/api/1.1/people/77645/?format=api", "name": "Michael Srba", "email": "michael.srba@seznam.cz" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260426-qcom_spl-v4-7-8cf4133ff883@seznam.cz/mbox/", "series": [ { "id": 501492, "url": "http://patchwork.ozlabs.org/api/1.1/series/501492/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501492", "date": "2026-04-25T23:26:13", "name": "Add SPL support for Qualcomm platforms, starting with sdm845", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/501492/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228326/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228326/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=pass (2048-bit key;\n secure) header.d=seznam.cz header.i=@seznam.cz header.a=rsa-sha256\n header.s=szn1 header.b=QXLdZ+YA;\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=seznam.cz", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=seznam.cz header.i=@seznam.cz header.b=\"QXLdZ+YA\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=seznam.cz", "phobos.denx.de;\n spf=pass smtp.mailfrom=michael.srba@seznam.cz" ], "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 4g364L1RCWz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 09:49:22 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2770684394;\n\tSun, 26 Apr 2026 01:47:31 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id E613383FDB; Sun, 26 Apr 2026 01:28:18 +0200 (CEST)", "from mxd-2-a06.seznam.cz (mxd-2-a06.seznam.cz\n [IPv6:2a02:598:64:8a00::1000:a06])\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 EB1C68407E\n for <u-boot@lists.denx.de>; Sun, 26 Apr 2026 01:28:16 +0200 (CEST)", "from email.seznam.cz by smtpc-mxd-68df9c878f-wmttj\n (smtpc-mxd-68df9c878f-wmttj [2a02:598:64:8a00::1000:a06])\n id 4e2b0f7e15255b174f82c320; Sun, 26 Apr 2026 01:27:45 +0200 (CEST)", "from [127.0.0.1] (ip-111-27.static.ccinternet.cz [147.161.27.111])\n by smtpd-relay-7c7c659656-cskk5 (szn-email-smtpd/2.0.72) with ESMTPA\n id 79a3598c-18fb-4b7d-839e-07f9766dee68;\n Sun, 26 Apr 2026 01:26:57 +0200" ], "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,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=szn1;\n t=1777159665; bh=b9hGm2+/ikbUYrgXFWa5mkGy4Y5NRNQ8nvW+UvvMbXk=;\n h=From:Date:Subject:MIME-Version:Content-Type:\n Content-Transfer-Encoding:Message-Id:To:Cc;\n b=QXLdZ+YADIXuF2scFPH5fGmZETa3/378Zsv+NRfNoTTlcge3w+M7LeaUwkIpXk6/R\n vx2AzHzCyu0qxxLbaCyelhTciSjoWVkPphAaOnjSKLOuwso6fgy6O5aywZ6B7Vd2Bk\n aCeP1hG/rzA6CJS52AMTqhzTVJPkTnlGr+1brlxEgTvK5Nog09lG8c0D9A9d0KQcrR\n RoC5tSBJrDtE+9EwPis0HkaNnVyVc5NOOitT0snTr4ZfcCtBD8Ciq8NfQ6+gL6cfZI\n TZCJiaCJEoPUL3uxoilBzHE/MmC3oxCqkyKNi8+LDAbkD+JYok+NB/eI++XLGRTkoa\n cHQgWR0ZTCI5A==", "From": "michael.srba@seznam.cz", "Date": "Sun, 26 Apr 2026 01:26:09 +0200", "Subject": "[PATCH v4 07/11] mach-snapdragon: Kconfig: changes / additions to\n support SPL", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260426-qcom_spl-v4-7-8cf4133ff883@seznam.cz>", "References": "<20260426-qcom_spl-v4-0-8cf4133ff883@seznam.cz>", "In-Reply-To": "<20260426-qcom_spl-v4-0-8cf4133ff883@seznam.cz>", "To": "u-boot@lists.denx.de, Sumit Garg <sumit.garg@kernel.org>,\n u-boot-qcom@groups.io", "Cc": "Tom Rini <trini@konsulko.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Simon Glass <sjg@chromium.org>, Sughosh Ganu <sughosh.ganu@arm.com>,\n Anshul Dalal <anshuld@ti.com>, Peng Fan <peng.fan@nxp.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>, Andrew Davis <afd@ti.com>,\n Hrushikesh Salunke <h-salunke@ti.com>,\n Dario Binacchi <dario.binacchi@amarulasolutions.com>, Ye Li <ye.li@nxp.com>,\n Andre Przywara <andre.przywara@arm.com>,\n Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,\n Leo Yu-Chi Liang <ycliang@andestech.com>,\n Andrew Goodbody <andrew.goodbody@linaro.org>, Dhruva Gole <d-gole@ti.com>,\n Kaustabh Chakraborty <kauschluss@disroot.org>,\n Jerome Forissier <jerome.forissier@arm.com>,\n Heiko Schocher <hs@nabladev.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Lukasz Majewski <lukma@denx.de>,\n Mateusz Kulikowski <mateusz.kulikowski@gmail.com>,\n Dinesh Maniyam <dinesh.maniyam@altera.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Patrice Chotard <patrice.chotard@foss.st.com>,\n Patrick Delaunay <patrick.delaunay@foss.st.com>,\n Michal Simek <michal.simek@amd.com>, Yao Zi <me@ziyao.cc>,\n Peter Korsgaard <peter@korsgaard.com>,\n Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Tingting Meng <tingting.meng@altera.com>,\n Tien Fong Chee <tien.fong.chee@altera.com>, Alice Guo <alice.guo@nxp.com>,\n George Chan <gchan9527@gmail.com>,\n Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,\n Alexey Charkov <alchark@gmail.com>, Ronald Wahl <ronald.wahl@legrand.com>,\n Michael Trimarchi <michael@amarulasolutions.com>,\n Michael Srba <Michael.Srba@seznam.cz>", "X-Mailer": "b4 0.15.1", "X-Mailman-Approved-At": "Sun, 26 Apr 2026 01:47:27 +0200", "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": "From: Michael Srba <Michael.Srba@seznam.cz>\n\nAn SoC to target has to be selected, e.g. TARGET_SDM845.\nThis will enable the per-SoC boot0.h.\n\nSigned-off-by: Michael Srba <Michael.Srba@seznam.cz>\n---\n arch/arm/Kconfig | 34 +++++++++++++++++++++++++++++++++-\n arch/arm/mach-snapdragon/Kconfig | 31 ++++++++++++++++++++++++++++---\n 2 files changed, 61 insertions(+), 4 deletions(-)", "diff": "diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig\nindex 03416c55265..ddabc23fc9e 100644\n--- a/arch/arm/Kconfig\n+++ b/arch/arm/Kconfig\n@@ -1124,6 +1124,7 @@ config ARCH_SNAPDRAGON\n \tbool \"Qualcomm Snapdragon SoCs\"\n \tselect ARM64\n \tselect DM\n+\tselect DM_EVENT if USB_DWC3_GENERIC || SPL_USB_DWC3_GENERIC\n \tselect DM_GPIO\n \tselect DM_SERIAL\n \tselect DM_RESET\n@@ -1138,9 +1139,40 @@ config ARCH_SNAPDRAGON\n \tselect SAVE_PREV_BL_FDT_ADDR if !ENABLE_ARM_SOC_BOOT0_HOOK\n \tselect LINUX_KERNEL_IMAGE_HEADER if !ENABLE_ARM_SOC_BOOT0_HOOK\n \tselect SYSRESET\n-\tselect SYSRESET_PSCI\n+\tselect SYSRESET_PSCI if !SPL\n \tselect ANDROID_BOOT_IMAGE_IGNORE_BLOB_ADDR\n \tselect MMU_PGPROT\n+\tselect SUPPORT_SPL\n+\n+\tselect OF_LIVE if USB_DWC3_GENERIC\n+\tselect SPL_OF_LIVE if SPL_USB_DWC3_GENERIC\n+\tselect ARMV8_SPL_EXCEPTION_VECTORS if SPL\n+\tselect ENABLE_ARM_SOC_BOOT0_HOOK if SPL\n+\tselect SPL_DM if SPL\n+\tselect SPL_DM_GPIO if SPL\n+\tselect SPL_DM_PMIC if SPL\n+\tselect SPL_DM_USB_GADGET if SPL\n+\tselect SPL_ENV_SUPPORT if SPL\n+\tselect SPL_EVENT if SPL_USB_DWC3_GENERIC\n+\tselect SPL_GPIO if SPL\n+\tselect SPL_HAS_BSS_LINKER_SECTION if SPL\n+\tselect SPL_LIBCOMMON_SUPPORT if SPL\n+\tselect SPL_LIBDISK_SUPPORT if SPL\n+\tselect SPL_LIBGENERIC_SUPPORT if SPL\n+\tselect SPL_OF_REAL if SPL\n+\tselect SPL_OF_CONTROL if SPL\n+\tselect SPL_PINCONF if SPL\n+\tselect SPL_PINCTRL if SPL\n+\tselect SPL_PINCTRL_FULL if SPL\n+\tselect SPL_PINCTRL_GENERIC if SPL\n+\tselect SPL_PINCONF_RECURSIVE if SPL\n+\tselect SPL_PINMUX if SPL\n+\tselect SPL_SPMI if SPL\n+\tselect SPL_SPMI_MSM if SPL\n+\tselect SPL_SPRINTF if SPL\n+\tselect SPL_STRTO if SPL\n+\tselect SPL_USB_GADGET if SPL\n+\timply SPL_MMC if SPL\n \timply OF_UPSTREAM\n \timply CMD_DM\n \timply DM_USB_GADGET\ndiff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig\nindex f82cd0d3291..3b5ae6d98fb 100644\n--- a/arch/arm/mach-snapdragon/Kconfig\n+++ b/arch/arm/mach-snapdragon/Kconfig\n@@ -17,9 +17,6 @@ config SYS_MALLOC_F_LEN\n config SPL_SYS_MALLOC_F\n \tdefault y\n \n-config SPL_SYS_MALLOC_F_LEN\n-\tdefault 0x2000\n-\n config SYS_MALLOC_LEN\n \tdefault 0x800000\n \n@@ -42,4 +39,32 @@ config SYS_CONFIG_NAME\n \t Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header\n \t will be used for board configuration.\n \n+config SPL_SHARES_INIT_SP_ADDR\n+\tdefault n\n+\n+config SPL_HAVE_INIT_STACK\n+\tdefault y\n+\n+choice\n+\tprompt \"Qualcomm SoC select\"\n+\tdefault TARGET_NONE if !SPL\n+\thelp\n+\t While U-Boot on Qualcomm platforms doesn't generally need compile-time\n+\t adjustment based on the target SoC, there are a few exceptions to this.\n+\t Currently this concerns boot0.h discrimination.\n+\n+config TARGET_NONE\n+\tbool \"Generic build\"\n+\thelp\n+\t Select this if you're not building SPL. U-Boot proper builds are currently\n+\t generic across all SoCs.\n+\n+config TARGET_SDM845\n+\tbool \"SPL targeting the sdm845 SoC\"\n+\thelp\n+\t Select this if you are building u-boot SPL for sdm845.\n+\t Currently this gates sdm845-specific boot0.h (only used in SPL).\n+\n+endchoice\n+\n endif\n", "prefixes": [ "v4", "07/11" ] }