get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2148250/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2148250,
    "url": "http://patchwork.ozlabs.org/api/patches/2148250/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20251010134424.3835757-9-anshuld@ti.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20251010134424.3835757-9-anshuld@ti.com>",
    "list_archive_url": null,
    "date": "2025-10-10T13:44:14",
    "name": "[v10,08/11] spl: split spl_board_fixups to arch/board specific",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0f12d95c53470901758bf709b333e99322c79189",
    "submitter": {
        "id": 90324,
        "url": "http://patchwork.ozlabs.org/api/people/90324/?format=api",
        "name": "Anshul Dalal",
        "email": "anshuld@ti.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20251010134424.3835757-9-anshuld@ti.com/mbox/",
    "series": [
        {
            "id": 477111,
            "url": "http://patchwork.ozlabs.org/api/series/477111/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=477111",
            "date": "2025-10-10T13:44:06",
            "name": "Add support for dynamic MMU configuration",
            "version": 10,
            "mbox": "http://patchwork.ozlabs.org/series/477111/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2148250/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2148250/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=ti.com header.i=@ti.com header.a=rsa-sha256\n header.s=ti-com-17Q1 header.b=URFL0lgO;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b=\"URFL0lgO\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.com",
            "phobos.denx.de; spf=pass smtp.mailfrom=anshuld@ti.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4cjp0y1YS9z1yGy\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 11 Oct 2025 00:45:54 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B61FE8455B;\n\tFri, 10 Oct 2025 15:44:54 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 839138445C; Fri, 10 Oct 2025 15:44:53 +0200 (CEST)",
            "from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n bits)) (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 195A984479\n for <u-boot@lists.denx.de>; Fri, 10 Oct 2025 15:44:50 +0200 (CEST)",
            "from lelvem-sh02.itg.ti.com ([10.180.78.226])\n by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTP id 59ADil2O326627;\n Fri, 10 Oct 2025 08:44:47 -0500",
            "from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22])\n by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 59ADilGb1713817\n (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL);\n Fri, 10 Oct 2025 08:44:47 -0500",
            "from DLEE202.ent.ti.com (157.170.170.77) by DLEE111.ent.ti.com\n (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Fri, 10\n Oct 2025 08:44:46 -0500",
            "from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE202.ent.ti.com\n (157.170.170.77) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend\n Transport; Fri, 10 Oct 2025 08:44:46 -0500",
            "from localhost (dhcp-172-24-233-105.dhcp.ti.com [172.24.233.105])\n by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 59ADijcV1722158;\n Fri, 10 Oct 2025 08:44:46 -0500"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com;\n s=ti-com-17Q1; t=1760103887;\n bh=NVuFrNinPSS2oMV7YUvcLguoRYHxdMVyKeDtS/xAeM4=;\n h=From:To:CC:Subject:Date:In-Reply-To:References;\n b=URFL0lgOKhtXV8ZUc7l1ncXWTTgh5Zi7CuKNgWlo9j5oH/oe4i2zuoGCcZz8y2NTV\n ppwbUmS1XE1Ay4+Kitc06YmuK8FVHbZ77LW/HrE4pf8qPs86VfaPmKTOVMvk0ybZHl\n vQ6D8oj/yR6vFuKwFBktDhjw9RkyobRfbCP4Z7Sw=",
        "From": "Anshul Dalal <anshuld@ti.com>",
        "To": "<u-boot@lists.denx.de>",
        "CC": "Anshul Dalal <anshuld@ti.com>, <d-gole@ti.com>, <b-padhi@ti.com>,\n <vigneshr@ti.com>, <trini@konsulko.com>, <nm@ti.com>,\n <robertcnelson@gmail.com>, <w.egorov@phytec.de>,\n <francesco.dolcini@toradex.com>, <ggiordano@phytec.com>,\n <m-chawdhry@ti.com>, <afd@ti.com>, <bb@ti.com>, <u-kumar1@ti.com>,\n <devarsht@ti.com>, <ilias.apalodimas@linaro.org>, <xypron.glpk@gmx.de>",
        "Subject": "[PATCH v10 08/11] spl: split spl_board_fixups to arch/board specific",
        "Date": "Fri, 10 Oct 2025 19:14:14 +0530",
        "Message-ID": "<20251010134424.3835757-9-anshuld@ti.com>",
        "X-Mailer": "git-send-email 2.51.0",
        "In-Reply-To": "<20251010134424.3835757-1-anshuld@ti.com>",
        "References": "<20251010134424.3835757-1-anshuld@ti.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-C2ProcessedOrg": "333ef613-75bf-4e12-a4b1-8e3623f5dcea",
        "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 current spl_board_fixups API allows for modification of spl_image\nbefore the SPL jumps to it. This can be used to modify the DT for the\nnext boot stage, however the current API only allows either the machine\narch or the board to use it.\n\nThis limits the utility of the API as there might be certain fixups that\nshould be applied to all boards sharing the same machine architecture\nwith others being board specific.\n\nFor TI's K3 specifically, this prevents us from performing architecture\nlevel fixups since a lot of TI boards are already making use of the\nspl_board_fixups API.\n\nTherefore this patch splits the API into two to allow both board and the\narchitecture specific fixups. The order is kept as arch then board to\ngive board specific fixups the precedence.\n\nReviewed-by: Dhruva Gole <d-gole@ti.com>\nSigned-off-by: Anshul Dalal <anshuld@ti.com>\nTested-by: Wadim Egorov <w.egorov@phytec.de>\n---\n arch/arm/cpu/armv7m/cpu.c                  |  2 +-\n arch/arm/mach-rockchip/spl-boot-order.c    |  2 +-\n arch/arm/mach-socfpga/spl_soc64.c          |  2 +-\n board/beagle/beagley-ai/beagley-ai.c       |  2 +-\n board/dhelectronics/dh_stm32mp1/board.c    |  2 +-\n board/phytec/phycore_am62x/phycore-am62x.c |  2 +-\n board/phytec/phycore_am64x/phycore-am64x.c |  2 +-\n board/renesas/sparrowhawk/sparrowhawk.c    |  2 +-\n board/starfive/visionfive2/spl.c           |  2 +-\n board/ti/am62ax/evm.c                      |  2 +-\n board/ti/am62px/evm.c                      |  2 +-\n board/ti/am62x/evm.c                       |  2 +-\n board/ti/am64x/evm.c                       |  2 +-\n board/ti/j721e/evm.c                       |  2 +-\n board/ti/j721s2/evm.c                      |  2 +-\n board/ti/j722s/evm.c                       |  2 +-\n board/ti/j784s4/evm.c                      |  2 +-\n common/spl/spl.c                           | 12 +++++++++---\n include/spl.h                              | 12 +++++++++---\n 19 files changed, 35 insertions(+), 23 deletions(-)",
    "diff": "diff --git a/arch/arm/cpu/armv7m/cpu.c b/arch/arm/cpu/armv7m/cpu.c\nindex b4440d3f3f8..bea0e1d3263 100644\n--- a/arch/arm/cpu/armv7m/cpu.c\n+++ b/arch/arm/cpu/armv7m/cpu.c\n@@ -57,7 +57,7 @@ void reset_cpu(void)\n \t\t| V7M_AIRCR_SYSRESET, &V7M_SCB->aircr);\n }\n \n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_arch_fixups(struct spl_image_info *spl_image)\n {\n \tspl_image->entry_point |= 0x1;\n }\ndiff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c\nindex 1bfd120adc4..561bddd12a6 100644\n--- a/arch/arm/mach-rockchip/spl-boot-order.c\n+++ b/arch/arm/mach-rockchip/spl-boot-order.c\n@@ -240,7 +240,7 @@ int spl_decode_boot_device(u32 boot_device, char *buf, size_t buflen)\n #endif\n }\n \n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_arch_fixups(struct spl_image_info *spl_image)\n {\n \tconst char *bootrom_ofpath = board_spl_was_booted_from();\n \tvoid *blob = spl_image_fdt_addr(spl_image);\ndiff --git a/arch/arm/mach-socfpga/spl_soc64.c b/arch/arm/mach-socfpga/spl_soc64.c\nindex 651d9fc9cb8..fa7b1506ce6 100644\n--- a/arch/arm/mach-socfpga/spl_soc64.c\n+++ b/arch/arm/mach-socfpga/spl_soc64.c\n@@ -130,7 +130,7 @@ u32 spl_boot_mode(const u32 boot_device)\n #endif\n \n /* board specific function prior loading SSBL / U-Boot */\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_arch_fixups(struct spl_image_info *spl_image)\n {\n \tint ret;\n \tstruct udevice *dev;\ndiff --git a/board/beagle/beagley-ai/beagley-ai.c b/board/beagle/beagley-ai/beagley-ai.c\nindex 26fa54e27bb..500cc3060c3 100644\n--- a/board/beagle/beagley-ai/beagley-ai.c\n+++ b/board/beagle/beagley-ai/beagley-ai.c\n@@ -32,7 +32,7 @@ int dram_init_banksize(void)\n }\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c\nindex bd9326d6b1b..d98b2c6e809 100644\n--- a/board/dhelectronics/dh_stm32mp1/board.c\n+++ b/board/dhelectronics/dh_stm32mp1/board.c\n@@ -776,7 +776,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)\n #endif\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tdh_stm32_ks8851_fixup(spl_image_fdt_addr(spl_image));\n }\ndiff --git a/board/phytec/phycore_am62x/phycore-am62x.c b/board/phytec/phycore_am62x/phycore-am62x.c\nindex 51da864aa80..3cdcbf2ecc9 100644\n--- a/board/phytec/phycore_am62x/phycore-am62x.c\n+++ b/board/phytec/phycore_am62x/phycore-am62x.c\n@@ -199,7 +199,7 @@ int do_board_detect(void)\n #endif\n \n #if IS_ENABLED(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS) && IS_ENABLED(CONFIG_K3_INLINE_ECC))\n \t\tfixup_ddr_driver_for_ecc(spl_image);\ndiff --git a/board/phytec/phycore_am64x/phycore-am64x.c b/board/phytec/phycore_am64x/phycore-am64x.c\nindex 33c39376ceb..114aa217023 100644\n--- a/board/phytec/phycore_am64x/phycore-am64x.c\n+++ b/board/phytec/phycore_am64x/phycore-am64x.c\n@@ -118,7 +118,7 @@ int do_board_detect(void)\n #endif\n \n #if IS_ENABLED(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS) && IS_ENABLED(CONFIG_K3_INLINE_ECC))\n \t\tfixup_ddr_driver_for_ecc(spl_image);\ndiff --git a/board/renesas/sparrowhawk/sparrowhawk.c b/board/renesas/sparrowhawk/sparrowhawk.c\nindex 58de7f25cbd..29a67dae34e 100644\n--- a/board/renesas/sparrowhawk/sparrowhawk.c\n+++ b/board/renesas/sparrowhawk/sparrowhawk.c\n@@ -134,7 +134,7 @@ unsigned int spl_spi_get_uboot_offs(struct spi_flash *flash)\n \treturn CONFIG_SYS_SPI_U_BOOT_OFFS;\n }\n \n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tvoid *blob = spl_image_fdt_addr(spl_image);\n \tint err, offs;\ndiff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c\nindex 420a8cf8d91..48b034af305 100644\n--- a/board/starfive/visionfive2/spl.c\n+++ b/board/starfive/visionfive2/spl.c\n@@ -20,7 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;\n #define JH7110_CLK_CPU_ROOT_SHIFT\t\t24\n #define JH7110_CLK_CPU_ROOT_MASK\t\tGENMASK(29, 24)\n \n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \t/* Update the memory size which read from eeprom or DT */\n \tif (spl_image->fdt_addr)\ndiff --git a/board/ti/am62ax/evm.c b/board/ti/am62ax/evm.c\nindex a445f983255..da6c31176cd 100644\n--- a/board/ti/am62ax/evm.c\n+++ b/board/ti/am62ax/evm.c\n@@ -17,7 +17,7 @@\n #include \"../common/fdt_ops.h\"\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c\nindex c06e3878d67..85c332b9339 100644\n--- a/board/ti/am62px/evm.c\n+++ b/board/ti/am62px/evm.c\n@@ -50,7 +50,7 @@ void spl_board_init(void)\n #endif\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c\nindex d7b07a0d34d..c2c7a0216b9 100644\n--- a/board/ti/am62x/evm.c\n+++ b/board/ti/am62x/evm.c\n@@ -91,7 +91,7 @@ void spl_board_init(void)\n \n }\n \n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c\nindex 8e89b3b15df..f9bb593e4c6 100644\n--- a/board/ti/am64x/evm.c\n+++ b/board/ti/am64x/evm.c\n@@ -98,7 +98,7 @@ static int fixup_usb_boot(const void *fdt_blob)\n }\n #endif\n \n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c\nindex 1527eaf1e16..e030fe7dc87 100644\n--- a/board/ti/j721e/evm.c\n+++ b/board/ti/j721e/evm.c\n@@ -127,7 +127,7 @@ static void __maybe_unused detect_enable_hyperflash(void *blob)\n \n #if defined(CONFIG_XPL_BUILD) && (defined(CONFIG_TARGET_J7200_A72_EVM) || defined(CONFIG_TARGET_J7200_R5_EVM) || \\\n \t\t\t\t\tdefined(CONFIG_TARGET_J721E_A72_EVM) || defined(CONFIG_TARGET_J721E_R5_EVM))\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tdetect_enable_hyperflash(spl_image->fdt_addr);\n }\ndiff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c\nindex 5d3b84607d8..b6d1964146d 100644\n--- a/board/ti/j721s2/evm.c\n+++ b/board/ti/j721s2/evm.c\n@@ -40,7 +40,7 @@ phys_addr_t board_get_usable_ram_top(phys_size_t total_size)\n }\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/ti/j722s/evm.c b/board/ti/j722s/evm.c\nindex 32d767cb7d2..1173adc072b 100644\n--- a/board/ti/j722s/evm.c\n+++ b/board/ti/j722s/evm.c\n@@ -24,7 +24,7 @@ void spl_board_init(void)\n #endif\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/board/ti/j784s4/evm.c b/board/ti/j784s4/evm.c\nindex 6335676081a..cabb3017ee1 100644\n--- a/board/ti/j784s4/evm.c\n+++ b/board/ti/j784s4/evm.c\n@@ -42,7 +42,7 @@ struct efi_capsule_update_info update_info = {\n };\n \n #if defined(CONFIG_XPL_BUILD)\n-void spl_perform_fixups(struct spl_image_info *spl_image)\n+void spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n \tif (IS_ENABLED(CONFIG_K3_DDRSS)) {\n \t\tif (IS_ENABLED(CONFIG_K3_INLINE_ECC))\ndiff --git a/common/spl/spl.c b/common/spl/spl.c\nindex 55ad497c86d..2b321284b59 100644\n--- a/common/spl/spl.c\n+++ b/common/spl/spl.c\n@@ -120,8 +120,13 @@ int __weak booti_setup(ulong image, ulong *relocated_addr, ulong *size, bool for\n }\n #endif\n \n-/* Weak default function for arch/board-specific fixups to the spl_image_info */\n-void __weak spl_perform_fixups(struct spl_image_info *spl_image)\n+/* Weak default function for arch specific fixups to the spl_image_info */\n+void __weak spl_perform_arch_fixups(struct spl_image_info *spl_image)\n+{\n+}\n+\n+/* Weak default function for board specific fixups to the spl_image_info */\n+void __weak spl_perform_board_fixups(struct spl_image_info *spl_image)\n {\n }\n \n@@ -775,7 +780,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)\n \t\thang();\n \t}\n \n-\tspl_perform_fixups(&spl_image);\n+\tspl_perform_arch_fixups(&spl_image);\n+\tspl_perform_board_fixups(&spl_image);\n \n \tos = spl_image.os;\n \tif (os == IH_OS_U_BOOT) {\ndiff --git a/include/spl.h b/include/spl.h\nindex 7c10c7f792e..cf45d411ecb 100644\n--- a/include/spl.h\n+++ b/include/spl.h\n@@ -1116,10 +1116,16 @@ int board_return_to_bootrom(struct spl_image_info *spl_image,\n ulong board_spl_fit_size_align(ulong size);\n \n /**\n- * spl_perform_fixups() - arch/board-specific callback before processing\n- *                        the boot-payload\n+ * spl_perform_arch_fixups() - arch specific callback before processing the\n+ *                        boot-payload\n  */\n-void spl_perform_fixups(struct spl_image_info *spl_image);\n+void spl_perform_arch_fixups(struct spl_image_info *spl_image);\n+\n+/**\n+ * spl_perform_board_fixups() - board specific callback before processing the\n+ *                        boot-payload\n+ */\n+void spl_perform_board_fixups(struct spl_image_info *spl_image);\n \n /*\n  * spl_get_load_buffer() - get buffer for loading partial image data\n",
    "prefixes": [
        "v10",
        "08/11"
    ]
}