get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228793,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228793/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260427-fb_gpt-v2-3-9e7fe3c1649a@oss.qualcomm.com/",
    "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": "<20260427-fb_gpt-v2-3-9e7fe3c1649a@oss.qualcomm.com>",
    "date": "2026-04-27T12:06:44",
    "name": "[v2,3/4] fastboot: block: Add GPT/MBR partition table flashing support",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "48a5066230125b71b1abfbbf1c47280297357a69",
    "submitter": {
        "id": 90810,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/90810/?format=api",
        "name": "Balaji Selvanathan",
        "email": "balaji.selvanathan@oss.qualcomm.com"
    },
    "delegate": {
        "id": 117687,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/117687/?format=api",
        "username": "mkorpershoek",
        "first_name": "Mattijs",
        "last_name": "Korpershoek",
        "email": "mkorpershoek@baylibre.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260427-fb_gpt-v2-3-9e7fe3c1649a@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 501635,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501635/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501635",
            "date": "2026-04-27T12:06:41",
            "name": "fastboot: block: Add GPT/MBR and device selection",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/501635/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228793/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228793/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 unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=E7nXN7nR;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=d465mQLz;\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=none (p=none dis=none) header.from=oss.qualcomm.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"E7nXN7nR\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"d465mQLz\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com",
            "phobos.denx.de; spf=pass\n smtp.mailfrom=balaji.selvanathan@oss.qualcomm.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 4g42PQ2Y2Nz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 22:07:22 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 6FB9D8410D;\n\tMon, 27 Apr 2026 14:07:08 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 6AD3284236; Mon, 27 Apr 2026 14:07:07 +0200 (CEST)",
            "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\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 3AE1F80433\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 14:07:05 +0200 (CEST)",
            "from pps.filterd (m0279870.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63RB72qj1237202\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 12:07:03 GMT",
            "from mail-pj1-f72.google.com (mail-pj1-f72.google.com\n [209.85.216.72])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dt6n4g6en-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 12:07:02 +0000 (GMT)",
            "by mail-pj1-f72.google.com with SMTP id\n 98e67ed59e1d1-35fb969a4c0so11068861a91.3\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 05:07:02 -0700 (PDT)",
            "from hu-bselvana-blr.qualcomm.com\n (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19])\n by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-36140feea38sm31832910a91.6.2026.04.27.05.06.57\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Apr 2026 05:07:00 -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; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n zjdNZlM+mi/RoOEmOfFhw80yi21syL1T+K/GcHgaUmc=; b=E7nXN7nRG5yPSHWZ\n g3qaUkpebenJzJz/FnVmw7z8QEjusPDS4Pxb6D7MpomVrbiAa4dQhyKv+L17c1zA\n /UN64DnlcFmoP1XB5zcNLjB4nbBpyWI6GjZaAuPLeFl1cxm9/iKRrbA2mZr4z27n\n ixOT9q376FFwd+KzNNHNsJ/0qvp6eUFJrfo2/9DDxzgopvr98vsWI8ykobH9ull3\n q3EQVHgysovhi2ExWMlbIZfzW/AQwXR6V5urt8nV/5Jo7lGa3f7oftbjxsrmCwQ5\n kFpqlxdmQ5YCLoQNmMDch03JWVPtxn/FAlzSCXeRpWKJeVnF/8TdKY45J9FvW4xF\n AZtIEg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1777291621; x=1777896421; darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=zjdNZlM+mi/RoOEmOfFhw80yi21syL1T+K/GcHgaUmc=;\n b=d465mQLz3bBYCzjpIv7UTUQJDytF3hPrn/HB2tiQU6G1IbuXZa8LWM77ji5FMamWpu\n p6HcCq+jWT8+qLK0hLH1tR8F2aGP140++Za/U9fEshwqWvqRB/LqjaZ8n1ogkDwZ4Y4T\n O7xty5oB3GnrxaR+49LRk1IL6hXvHvcJ5zl5XupR2innIRQCbpuYwySCvF9jm7np4U3Y\n WSt8vPoe+s75QWd3YELhijSJymQhhdPJxIPdhmYvWnUNeb3CdamLFq217C9Y4LcdyWSf\n JlYNPB5cKEkM1cBegJf7twkTXzW1Z7L5p1X52zQGUgGvpMNjAXzswME9iwvq5NN7ruuT\n uxKA=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777291621; x=1777896421;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=zjdNZlM+mi/RoOEmOfFhw80yi21syL1T+K/GcHgaUmc=;\n b=b8Mq8X/KIMWn0rbX0cL2F4Rcngl1LOseVFpNnGfl8wpz3cMF1+j5WqV9XMSuX8sOnQ\n RXbnMzbL95a/0Wym7woGfvz4glLsVo1iZ38qYkeE1lpfBTQmNyCYkOMO6zszr+Jey57o\n 7cmHKlNRKhn67UHrTO7vWAtmNrolKfuyAT4K6kbarirM08LOBEoO2bV+41vpSSXAxS0n\n ER2+VvDjU4GZWVEukwWil2VjNDmoOMnd9yCVudXfQSZGl7ncXQcNgBL9TDFKFiJOKvDt\n cdopI+ZAidN8ZNQtXxO+EMClQc4TntXpDpjrZNbH3/tMuPeWZdCu5NPr0gXui50y7kVn\n ikAw==",
        "X-Gm-Message-State": "AOJu0Ywvrz+PXbxvWf5NrGWmDaScfniJj3j5dqcFQ1mSXttTLKOgB8uO\n tPgzDIAeqe+O66USwjDwHr4SH7WNEVHrpiCAYGYWb7KLA6sG8O+9HDx+8VTypCMQwEXXu92cmE0\n eaZQd7mk5798jjKxBWCnyZ4REQZmKJOUFpnND3JHEIGTwMVRtlth1W9uPuKpno7FW",
        "X-Gm-Gg": "AeBDiesEy9Z0gDtHGxvd4nbUHm7R8WE2IbLYbvwjhW0o5i0PbSvCc4X+ox0MB3JARPq\n FO0gtnjO27IDKo5OT/PZ9RL0m745u3Mjfv1AbjkXLC1J5WMBAmooMSiohpCLAmFdzzjuNP+VekW\n TYAAXKa7dOi3pqF2+AhKBX0bEfrl7ERzP6gF5T7wTWXGfs6wk/fe0zAOsZZMz/B+cR5NnSbpKOH\n bPkCtV7ZIYTJbi4y/JchOrEiN4Xe341QpYRfaxpxSJfa3Xv0QFU9wGdR/VSGmL+zoo6m6H2fL8U\n fhkqp0z2b0+Y6l8hUXRg1EGU6TQqjxsXYztyu04NF6S/7bfxJbw4ugJ4LFRhEX8DhqXJ8vWIQ4U\n VfcuryTEty4Mmp/gPCn6wXhw9I6tnFab4B4eMKQogzOV+h8THCQyQWbCA14dOl3rNqWlYUDl5q9\n XJ+aiawUhvhWr3QAnttuCSx62Q7D83mc693U1a9XjhcTVBPfg1uJf+qshDc/+2",
        "X-Received": [
            "by 2002:a17:90a:ec8c:b0:35d:90c4:59f3 with SMTP id\n 98e67ed59e1d1-3614046e0c5mr44674405a91.13.1777291621386;\n Mon, 27 Apr 2026 05:07:01 -0700 (PDT)",
            "by 2002:a17:90a:ec8c:b0:35d:90c4:59f3 with SMTP id\n 98e67ed59e1d1-3614046e0c5mr44674386a91.13.1777291620746;\n Mon, 27 Apr 2026 05:07:00 -0700 (PDT)"
        ],
        "From": "Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>",
        "Date": "Mon, 27 Apr 2026 17:36:44 +0530",
        "Subject": "[PATCH v2 3/4] fastboot: block: Add GPT/MBR partition table\n flashing support",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260427-fb_gpt-v2-3-9e7fe3c1649a@oss.qualcomm.com>",
        "References": "<20260427-fb_gpt-v2-0-9e7fe3c1649a@oss.qualcomm.com>",
        "In-Reply-To": "<20260427-fb_gpt-v2-0-9e7fe3c1649a@oss.qualcomm.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Tom Rini <trini@konsulko.com>, Heiko Schocher <hs@nabladev.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Dmitrii Merkurev <dimorinny@google.com>,\n Adrian Freihofer <adrian.freihofer@siemens.com>,\n Peng Fan <peng.fan@nxp.com>, Jaehoon Chung <jh80.chung@samsung.com>,\n Ariel D'Alessandro <ariel.dalessandro@collabora.com>,\n Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>",
        "X-Mailer": "b4 0.14.3",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1777291604; l=4014;\n i=balaji.selvanathan@oss.qualcomm.com; s=20260213; h=from:subject:message-id;\n bh=/cXGBEwhSfFx/fKdi8k2/mzM6neEL/rGfHpFDhczrBU=;\n b=DlUtt3qh8LT5qWddzchsMkRVVF0fS9wEpcWr7CyfIv9FdxwO2F4/JGZCr+695OgQoQi5UBlBM\n jjifCxfVABNAIdsU5uZ4HS///aKoWV60+vYyYwNAnaKh33zX/Lv3Iq3",
        "X-Developer-Key": "i=balaji.selvanathan@oss.qualcomm.com; a=ed25519;\n pk=CDpYiUU3SH7KGEtsBvY2tBGPiWfMxqWJF0p2LftOfnc=",
        "X-Proofpoint-ORIG-GUID": "OVSX1od2kZgvGMATQa7Gj0xu-NR3N2j4",
        "X-Authority-Analysis": "v=2.4 cv=Xba5Co55 c=1 sm=1 tr=0 ts=69ef5166 cx=c_pps\n a=RP+M6JBNLl+fLTcSJhASfg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22\n a=EUspDBNiAAAA:8 a=g-st2ZJDtLM_O9EgdKAA:9 a=QEXdDO2ut3YA:10\n a=iS9zxrgQBfv6-_F4QbHw:22",
        "X-Proofpoint-GUID": "OVSX1od2kZgvGMATQa7Gj0xu-NR3N2j4",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDI3MDEyOSBTYWx0ZWRfXxi1JN0uPuS+Z\n dFQJkQ02qEEcgOuCbW76oBkmcp1veFty2vN967cz90S9Ev6QXTObJCQ8Dlv0R6ZZYUiodPfixCt\n RFuNj6kPYDSqz2KUBLGKgIUU0ZDOF1f8FxfLL6s4MKYKvSgsNGxGnPMN6j1Tv/q+jeToklimRmK\n I0X4+8kpi4J4r4EMJc4V8/0m0YGwRqO6DYBuEtclnzgsJMKLTNgnx19VLxBNbgs/GBVvZAVtzHj\n jdQV3Db9QQgQUfh1jX/Kh9Nl5PDx2YQmJ5GwXHf324D4cfmN7ncTIOU9bZYCtmpZXXe8g2heqPz\n 7NB07KbYlQCr/MZ1nIFqrbPL+sX//k9B9Sm7PDRp3ytVU3CE8s8dUFUYP2djWCwBWOSh/F6qxve\n vE7ZfVShgt8+Do+eJ7qqtUGEsW1MpjY3pt2uiPbIyb1Ed4Iw5RRzWAiVX7ECHJP68dm5ZLHtNyZ\n Nnk2Pf1J7faTo9pwbzA==",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-27_03,2026-04-21_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n priorityscore=1501 bulkscore=0 suspectscore=0 phishscore=0 adultscore=0\n impostorscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 malwarescore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604270129",
        "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": "Add support for flashing GPT and MBR partition tables to the\nfastboot block backend. This enables operations like \"fastboot flash\ngpt gpt.img\" and \"fastboot flash mbr mbr.img\" for block devices.\n\nThe implementation validates partition table names and rejects\ninvalid input formats such as \":gpt\" or \":mbr\" where the device\nprefix is missing. Valid formats include \"gpt\", \"mbr\", \"0:gpt\",\nand \"1:mbr\".\n\nUpdate Kconfig dependencies to allow FASTBOOT_GPT_NAME and\nFASTBOOT_MBR_NAME to work with both MMC and block backends.`\n\nSigned-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>\n---\nChanges in v2:\n- Newly created in v2\n- Adds GPT and MBR flash support to fastboot block codes\n---\n drivers/fastboot/Kconfig    |  4 ++--\n drivers/fastboot/fb_block.c | 49 +++++++++++++++++++++++++++++++++++++++++++++\n 2 files changed, 51 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig\nindex 576c3ef8a45..43d83265df4 100644\n--- a/drivers/fastboot/Kconfig\n+++ b/drivers/fastboot/Kconfig\n@@ -227,7 +227,7 @@ config FASTBOOT_FLASH_BLOCK_DEVICE_ID\n \n config FASTBOOT_GPT_NAME\n \tstring \"Target name for updating GPT\"\n-\tdepends on FASTBOOT_FLASH_MMC && EFI_PARTITION\n+\tdepends on (FASTBOOT_FLASH_MMC || FASTBOOT_FLASH_BLOCK) && EFI_PARTITION\n \tdefault \"gpt\"\n \thelp\n \t  The fastboot \"flash\" command supports writing the downloaded\n@@ -240,7 +240,7 @@ config FASTBOOT_GPT_NAME\n \n config FASTBOOT_MBR_NAME\n \tstring \"Target name for updating MBR\"\n-\tdepends on FASTBOOT_FLASH_MMC && DOS_PARTITION\n+\tdepends on (FASTBOOT_FLASH_MMC || FASTBOOT_FLASH_BLOCK) && DOS_PARTITION\n \tdefault \"mbr\"\n \thelp\n \t  The fastboot \"flash\" command allows to write the downloaded image\ndiff --git a/drivers/fastboot/fb_block.c b/drivers/fastboot/fb_block.c\nindex 061ffd930a5..a8c74e35d0d 100644\n--- a/drivers/fastboot/fb_block.c\n+++ b/drivers/fastboot/fb_block.c\n@@ -163,6 +163,27 @@ static int parse_device_partition(const char *part_name, int *device,\n \treturn 0;\n }\n \n+/**\n+ * is_partition_table_name() - Check if name matches partition table target\n+ * @part_name: Partition name to check\n+ * @table_name: Config name for partition table (e.g., \"gpt\", \"mbr\")\n+ *\n+ * Returns: true if part_name matches table_name (with or without device prefix)\n+ */\n+static bool is_partition_table_name(const char *part_name, const char *table_name)\n+{\n+\tconst char *colon_pos;\n+\n+\tif (strcmp(part_name, table_name) == 0)\n+\t\treturn true;\n+\n+\tcolon_pos = strchr(part_name, ':');\n+\tif (colon_pos && colon_pos > part_name && strcmp(colon_pos + 1, table_name) == 0)\n+\t\treturn true;\n+\n+\treturn false;\n+}\n+\n int fastboot_block_get_part_info(const char *part_name,\n \t\t\t\t struct blk_desc **dev_desc,\n \t\t\t\t struct disk_partition *part_info,\n@@ -361,6 +382,34 @@ void fastboot_block_flash_write(const char *part_name, void *download_buffer,\n \tstruct blk_desc *dev_desc;\n \tstruct disk_partition part_info;\n \n+#if CONFIG_IS_ENABLED(EFI_PARTITION)\n+\tif (is_partition_table_name(part_name, CONFIG_FASTBOOT_GPT_NAME)) {\n+\t\tint device;\n+\t\tconst char *interface = config_opt_enabled(CONFIG_FASTBOOT_FLASH_BLOCK,\n+\t\t\t\t\t\t\t   CONFIG_FASTBOOT_FLASH_BLOCK_INTERFACE_NAME,\n+\t\t\t\t\t\t\t   NULL);\n+\n+\t\tparse_device_partition(part_name, &device, NULL);\n+\t\tfastboot_flash_gpt_partition_table(interface, device,\n+\t\t\t\t\t\t   download_buffer, response);\n+\t\treturn;\n+\t}\n+#endif\n+\n+#if CONFIG_IS_ENABLED(DOS_PARTITION)\n+\tif (is_partition_table_name(part_name, CONFIG_FASTBOOT_MBR_NAME)) {\n+\t\tint device;\n+\t\tconst char *interface = config_opt_enabled(CONFIG_FASTBOOT_FLASH_BLOCK,\n+\t\t\t\t\t\t\t   CONFIG_FASTBOOT_FLASH_BLOCK_INTERFACE_NAME,\n+\t\t\t\t\t\t\t   NULL);\n+\n+\t\tparse_device_partition(part_name, &device, NULL);\n+\t\tfastboot_flash_mbr_partition_table(interface, device,\n+\t\t\t\t\t\t   download_buffer, response);\n+\t\treturn;\n+\t}\n+#endif\n+\n \tif (fastboot_block_get_part_info(part_name, &dev_desc, &part_info, response) < 0)\n \t\treturn;\n \n",
    "prefixes": [
        "v2",
        "3/4"
    ]
}