Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1103916/?format=api
{ "id": 1103916, "url": "http://patchwork.ozlabs.org/api/patches/1103916/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190523085734.5449-1-ykaukab@suse.de/", "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": "<20190523085734.5449-1-ykaukab@suse.de>", "list_archive_url": null, "date": "2019-05-23T08:57:33", "name": "[U-Boot,1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi", "commit_ref": "de0f9ad1dee7eb39c0c7b38ea99918823b4f1204", "pull_url": null, "state": "accepted", "archived": false, "hash": "3dd4229d3cdbfad8c33e1508d707ff8144f7200a", "submitter": { "id": 74697, "url": "http://patchwork.ozlabs.org/api/people/74697/?format=api", "name": "Yousaf Kaukab", "email": "ykaukab@suse.de" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190523085734.5449-1-ykaukab@suse.de/mbox/", "series": [ { "id": 109430, "url": "http://patchwork.ozlabs.org/api/series/109430/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=109430", "date": "2019-05-23T08:57:34", "name": "[U-Boot,1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/109430/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1103916/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1103916/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=suse.de" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 458k1V6my4z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 May 2019 18:58:22 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 9148DC21E39; Thu, 23 May 2019 08:58:13 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E2CB2C21C2C;\n\tThu, 23 May 2019 08:57:59 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 01B36C21C2C; Thu, 23 May 2019 08:57:58 +0000 (UTC)", "from mx1.suse.de (mx2.suse.de [195.135.220.15])\n\tby lists.denx.de (Postfix) with ESMTPS id 7C524C21C2C\n\tfor <u-boot@lists.denx.de>; Thu, 23 May 2019 08:57:58 +0000 (UTC)", "from relay2.suse.de (unknown [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 16AAEAB7F;\n\tThu, 23 May 2019 08:57:58 +0000 (UTC)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "X-Virus-Scanned": "by amavisd-new at test-mx.suse.de", "From": "Mian Yousaf Kaukab <ykaukab@suse.de>", "To": "u-boot@lists.denx.de,\n\tprabhakar.kushwaha@nxp.com", "Date": "Thu, 23 May 2019 10:57:33 +0200", "Message-Id": "<20190523085734.5449-1-ykaukab@suse.de>", "X-Mailer": "git-send-email 2.11.0", "Subject": "[U-Boot] [PATCH 1/2] board: lx2160a: fix fsl-mc status in fdt with\n\tbootefi", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "fsl-mc lazyapply command applies dpl from efi_exit_boot_services().\nStatus of fsl-mc node in working fdt is updated at this stage.\nHowever, an efi application like grub may already have copied the fdt.\nSo the updates to fdt done at efi_exit_boot_services() may not be\nvisible to the OS. Fix it by updating fdt earlier if fsl-mc lazyapply\ncommand is used.\n\nSigned-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>\n---\n board/freescale/lx2160a/lx2160a.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c\nindex 6109b280c6..3b4cb86692 100644\n--- a/board/freescale/lx2160a/lx2160a.c\n+++ b/board/freescale/lx2160a/lx2160a.c\n@@ -509,7 +509,8 @@ void fdt_fixup_board_enet(void *fdt)\n \t\treturn;\n \t}\n \n-\tif ((get_mc_boot_status() == 0) && (get_dpl_apply_status() == 0)) {\n+\tif (get_mc_boot_status() == 0 &&\n+\t (is_lazy_dpl_addr_valid() || get_dpl_apply_status() == 0)) {\n \t\tfdt_status_okay(fdt, offset);\n \t\tfdt_fixup_board_phy(fdt);\n \t} else {\n", "prefixes": [ "U-Boot", "1/2" ] }