get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216072,
    "url": "http://patchwork.ozlabs.org/api/patches/2216072/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260325190047.3428806-1-trini@konsulko.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": "<20260325190047.3428806-1-trini@konsulko.com>",
    "list_archive_url": null,
    "date": "2026-03-25T19:00:47",
    "name": "librem5: Drop unnecessary BOARD_EARLY_INIT_F usage",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0bb7d948538981e027d7e137b215e002ae1ff0ff",
    "submitter": {
        "id": 65875,
        "url": "http://patchwork.ozlabs.org/api/people/65875/?format=api",
        "name": "Tom Rini",
        "email": "trini@konsulko.com"
    },
    "delegate": {
        "id": 151988,
        "url": "http://patchwork.ozlabs.org/api/users/151988/?format=api",
        "username": "festevam",
        "first_name": "Fabio",
        "last_name": "Estevam",
        "email": "festevam@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260325190047.3428806-1-trini@konsulko.com/mbox/",
    "series": [
        {
            "id": 497501,
            "url": "http://patchwork.ozlabs.org/api/series/497501/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497501",
            "date": "2026-03-25T19:00:47",
            "name": "librem5: Drop unnecessary BOARD_EARLY_INIT_F usage",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497501/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216072/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216072/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=lMJQs/HA;\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=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=\"lMJQs/HA\";\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 [85.214.62.61])\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 4fgxBl2Dkcz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 06:03:27 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id C7FD58413A;\n\tWed, 25 Mar 2026 20:00:55 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 9564684137; Wed, 25 Mar 2026 20:00:52 +0100 (CET)",
            "from mail-oi1-x234.google.com (mail-oi1-x234.google.com\n [IPv6:2607:f8b0:4864:20::234])\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 E345A84132\n for <u-boot@lists.denx.de>; Wed, 25 Mar 2026 20:00:49 +0100 (CET)",
            "by mail-oi1-x234.google.com with SMTP id\n 5614622812f47-46808125c65so53754b6e.2\n for <u-boot@lists.denx.de>; Wed, 25 Mar 2026 12:00:49 -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-7d9e71f6815sm407607a34.15.2026.03.25.12.00.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 25 Mar 2026 12:00:48 -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=1774465248; x=1775070048; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=Bk5EkhXR2cl4+zOsKwBGCy4YOcynAFNgBDiyUu9jzYE=;\n b=lMJQs/HA+UEWD8/F01Dc+K0wGeHP+Ja306+FeZJWinPfKeYp9TA1HSuXezOQsog9Bq\n ftwg4pscHHcgT9NAKlXXTpwX0NSAzZzFtjzR07N3y7jrMKp6q2iMpun6GUysFryGG6eb\n Sl2FsKP08YcH+xkIbLPVuq8+e8d9CVhKxALnw=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774465248; x=1775070048;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=Bk5EkhXR2cl4+zOsKwBGCy4YOcynAFNgBDiyUu9jzYE=;\n b=OBIAXR2WXaT7S7dWkOCS9anlOPvvLDI5rCPEzKMv2mQPTQ5mGqQDNfANwOWhhe/Fxf\n oA40VXeiCSNAoLaaidYFPhfi/oCW8KWE6M2fwdsS1fPvWcifkqVDGx2mQmzXZm1pmoCt\n ZJqxylCjN1sI7Dk38/39N1G9L/m7R8RzSEQqkKVtwbXMflh+Pbl06CBn5n4qiHQQLdQR\n 5dIWiYximiEXbvKas6jmC583Wz5gtuzf4z+Qk5zuAhbfInNndBdFEvXfdC/jrHWC9mHs\n GmDV+eWdDFq6zMMXjnbzYhxgJnfGPPK8ZQnuHq5OAvIsbsp4Ut4EayOLZzh9ihrklLE8\n mTjw==",
        "X-Gm-Message-State": "AOJu0Yyrdd5YCRItJnIRZISlLtCG0+z7oZPiE6Ptz5QNAHF/Jbbl5h2i\n HvRPCjmeWNUXEuu9KB6Mg5eBER4kRMqhlupzl4hTuoyU+J5pRmCijf3Hi3bDd6G20JxQgQz6G9l\n qA3IvGPI=",
        "X-Gm-Gg": "ATEYQzySlr0tK54MQlxmeouZosrOLRw9AogAuD8IiVQNUWDx+b5d1H45PUhtxjzZZrQ\n ECjDETc/0dLHNYR4n4wMzoPjJWtGR9FwQWnAGk+n6NJX+qHd+sPX9VXSh0kAyABaUiCMgn7Tvsc\n zgQq/WnbJNUYKVpxf0rXv4OYqB4KktTDWqRHzlS/zUcd7CdFU/pNRowt26MkLtz+dq29zSFEFVD\n SzjOGAnsFVrlB8PlPgEXJ2tkBQMtt2sTalBIWfNGum2GV7H1dc2c48olxa6ckvdhGabNNTM80Az\n WQbi019WdwyUgmQjdBERm+tEql2XDsXMS9SL8egES6/wb5Cakyx6H7rDuO+f3KCokt/3JCv0IBR\n qMYmYPVol+e7qoIsSw0EQXkrM9uZ6UHomI6FRNiqqU1XLCqxI+y2P6IyQ5al/xtYmvqCFXQpeFU\n cl/q0bjZMV5slht6XAzuUlNM2KQbbRgVSPIR820G7f6I8T7Rlt2P/XXcwCT7opNokPEpTobOh69\n gAnCMAcIuZexUQ4L74K1+20OgsRylzgeD3v1B5knS40lmbvsl4=",
        "X-Received": "by 2002:a05:6808:1582:b0:467:14c7:a8ba with SMTP id\n 5614622812f47-46a5c6e70d1mr2414354b6e.32.1774465248498;\n Wed, 25 Mar 2026 12:00:48 -0700 (PDT)",
        "From": "Tom Rini <trini@konsulko.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Angus Ainslie <angus@akkea.ca>,\n\tkernel@puri.sm",
        "Subject": "[PATCH] librem5: Drop unnecessary BOARD_EARLY_INIT_F usage",
        "Date": "Wed, 25 Mar 2026 13:00:47 -0600",
        "Message-ID": "<20260325190047.3428806-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": "This platform enables CONFIG_BOARD_EARLY_INIT_F and then has a\ndo-nothing board_early_init_f function. Change to not enabling the\noption and so not needing an empty function.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\nCc: Angus Ainslie <angus@akkea.ca>\nCc: kernel@puri.sm\n---\n board/purism/librem5/librem5.c | 5 -----\n board/purism/librem5/spl.c     | 2 --\n configs/librem5_defconfig      | 1 -\n 3 files changed, 8 deletions(-)",
    "diff": "diff --git a/board/purism/librem5/librem5.c b/board/purism/librem5/librem5.c\nindex a2bc0c08f0b5..3640ef232c8c 100644\n--- a/board/purism/librem5/librem5.c\n+++ b/board/purism/librem5/librem5.c\n@@ -31,11 +31,6 @@\n #include <usb/xhci.h>\n #include \"librem5.h\"\n \n-int board_early_init_f(void)\n-{\n-\treturn 0;\n-}\n-\n #if IS_ENABLED(CONFIG_LOAD_ENV_FROM_MMC_BOOT_PARTITION)\n uint board_mmc_get_env_part(struct mmc *mmc)\n {\ndiff --git a/board/purism/librem5/spl.c b/board/purism/librem5/spl.c\nindex 568224f97324..a104ee5c2aab 100644\n--- a/board/purism/librem5/spl.c\n+++ b/board/purism/librem5/spl.c\n@@ -547,8 +547,6 @@ void board_init_f(ulong dummy)\n \tgpio_direction_output(WIFI_EN, 1);\n #endif\n \n-\tboard_early_init_f();\n-\n \ttimer_init();\n \n \tpreloader_console_init();\ndiff --git a/configs/librem5_defconfig b/configs/librem5_defconfig\nindex e6ad27ed1bf8..d9d32bf5a50a 100644\n--- a/configs/librem5_defconfig\n+++ b/configs/librem5_defconfig\n@@ -36,7 +36,6 @@ CONFIG_OF_SYSTEM_SETUP=y\n CONFIG_SYS_PBSIZE=1050\n CONFIG_SYS_CONSOLE_IS_IN_ENV=y\n # CONFIG_SYS_DEVICE_NULLDEV is not set\n-CONFIG_BOARD_EARLY_INIT_F=y\n CONFIG_BOARD_LATE_INIT=y\n CONFIG_SPL_MAX_SIZE=0x25000\n CONFIG_SPL_BOARD_INIT=y\n",
    "prefixes": []
}