Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1107757/?format=api
{ "id": 1107757, "url": "http://patchwork.ozlabs.org/api/patches/1107757/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1559217730-27727-2-git-send-email-pankit.garg@nxp.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": "<1559217730-27727-2-git-send-email-pankit.garg@nxp.com>", "list_archive_url": null, "date": "2019-05-30T12:04:15", "name": "[U-Boot,2/2] armv8: fsl-layerscape: Change bootcmd update logic", "commit_ref": "ab748801ef2f15679a618efbc6e8894b67658bad", "pull_url": null, "state": "accepted", "archived": false, "hash": "1b30276e68e1aaf82954bc281440a72a9c436e22", "submitter": { "id": 73081, "url": "http://patchwork.ozlabs.org/api/people/73081/?format=api", "name": "Pankit Garg", "email": "pankit.garg@nxp.com" }, "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/1559217730-27727-2-git-send-email-pankit.garg@nxp.com/mbox/", "series": [ { "id": 110877, "url": "http://patchwork.ozlabs.org/api/series/110877/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=110877", "date": "2019-05-30T12:04:14", "name": "[U-Boot,1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/110877/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1107757/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1107757/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=fail (p=none dis=none) header.from=nxp.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"iIMG6Af1\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=pankit.garg@nxp.com; " ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45F7bT2l9Cz9s3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 30 May 2019 23:24:37 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 16549C21DE8; Thu, 30 May 2019 13:23:50 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AC1A9C21BE5;\n\tThu, 30 May 2019 13:23:22 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 20EDFC21C2F; Thu, 30 May 2019 12:04:17 +0000 (UTC)", "from EUR02-VE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr20061.outbound.protection.outlook.com [40.107.2.61])\n\tby lists.denx.de (Postfix) with ESMTPS id AD77FC21BE5\n\tfor <u-boot@lists.denx.de>; Thu, 30 May 2019 12:04:16 +0000 (UTC)", "from AM6PR04MB5512.eurprd04.prod.outlook.com (20.178.93.205) by\n\tAM6PR04MB4806.eurprd04.prod.outlook.com (20.177.32.223) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1922.18; Thu, 30 May 2019 12:04:15 +0000", "from AM6PR04MB5512.eurprd04.prod.outlook.com\n\t([fe80::5993:a6fe:b4d4:302e]) by\n\tAM6PR04MB5512.eurprd04.prod.outlook.com\n\t([fe80::5993:a6fe:b4d4:302e%4]) with mapi id 15.20.1922.021;\n\tThu, 30 May 2019 12:04:15 +0000" ], "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=SPF_HELO_PASS, T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=GiVbgv4ermqoSMOj24wMwfu5N4dPzGeP74H9jvYumz0=;\n\tb=iIMG6Af1ZsicLpQbn53JeygHINTwyd4ZWPEHT9mbzcnLJsoBJPsdbllpDnQmySV+WjOapvnq9IHBq8QrG4dGguXZGu8QH5RXakctubbHgqN/cTZgCxObe/VB73qONm+em49OKhrCpkjbMXEr6KUJItXyrtCKXcmDT/Ra6cpwkXU=", "From": "Pankit Garg <pankit.garg@nxp.com>", "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>", "Thread-Topic": "[PATCH 2/2] armv8: fsl-layerscape: Change bootcmd update logic", "Thread-Index": "AQHVFt/NpwHWLaBcE0OuzPOhIcDEag==", "Date": "Thu, 30 May 2019 12:04:15 +0000", "Message-ID": "<1559217730-27727-2-git-send-email-pankit.garg@nxp.com>", "References": "<1559217730-27727-1-git-send-email-pankit.garg@nxp.com>", "In-Reply-To": "<1559217730-27727-1-git-send-email-pankit.garg@nxp.com>", "Accept-Language": "en-US", "Content-Language": "en-US", "X-MS-Has-Attach": "", "X-MS-TNEF-Correlator": "", "x-mailer": "git-send-email 1.9.1", "x-clientproxiedby": "PN1PR0101CA0051.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:c00:d::13) To AM6PR04MB5512.eurprd04.prod.outlook.com\n\t(2603:10a6:20b:98::13)", "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=fail (p=none dis=none) header.from=nxp.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"iIMG6Af1\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=pankit.garg@nxp.com; " ], "x-ms-exchange-messagesentrepresentingtype": "1", "x-originating-ip": "[92.120.1.72]", "x-ms-publictraffictype": "Email", "x-ms-office365-filtering-correlation-id": "9e3d49be-6a37-425d-14af-08d6e4f6efb7", "x-ms-office365-filtering-ht": "Tenant", "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);\n\tSRVR:AM6PR04MB4806; ", "x-ms-traffictypediagnostic": "AM6PR04MB4806:", "x-microsoft-antispam-prvs": "<AM6PR04MB48061BF77CB9FA9F2FEBECF2E7180@AM6PR04MB4806.eurprd04.prod.outlook.com>", "x-ms-oob-tlc-oobclassifiers": "OLM:612;", "x-forefront-prvs": "00531FAC2C", "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(376002)(39860400002)(136003)(366004)(346002)(396003)(199004)(189003)(3846002)(25786009)(66066001)(2501003)(14444005)(53936002)(446003)(15650500001)(36756003)(52116002)(2351001)(14454004)(76176011)(316002)(5640700003)(6116002)(99286004)(66476007)(66556008)(73956011)(4326008)(2906002)(66946007)(66446008)(486006)(6916009)(478600001)(44832011)(256004)(305945005)(2616005)(102836004)(68736007)(11346002)(476003)(64756008)(186003)(6436002)(6486002)(7736002)(71190400001)(50226002)(6506007)(4744005)(26005)(8936002)(386003)(54906003)(6512007)(8676002)(81156014)(81166006)(5660300002)(71200400001)(86362001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4806;\n\tH:AM6PR04MB5512.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; A:1; MX:1; ", "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)", "x-ms-exchange-senderadcheck": "1", "x-microsoft-antispam-message-info": "z4X2Xh9ORwzrywYBfhyUVEvkWG/7lRgosw/yLissPmkIqjAHU0kM4TPzH6ezF8fcpfpbrw0wf5KFLbTuqRCHOTw+TSrw1HeNV7tRdDr7bBR9e8canzR/vhkFW5+S+j2EIUYGWNGtg2LWjyn2T/spd2LKKdnqau/bMLB/KwXysfh8jJ+c/1T6vt8kLabS+dGz6ImmCxGLBMzumDv143s66iWqBDxqMeSGDtBaSP7A/qWtFpvw9TuMgHQYfpS3pKAxfjHkKoL5X1kazzBVMMTMDUFuoh1q7wP9hOspkJtWCD/xqKxdpzRXApND/WljeX1hlmuKpKUX26+rUNs6qu7wHdWpKjjiomBOMyS9J75f/no7cxMOjxUutGNc7TNnc6bgK2+0PzWA7TpGfAZi0m0044c399MNg/er64LwPI4Q7rg=", "MIME-Version": "1.0", "X-OriginatorOrg": "nxp.com", "X-MS-Exchange-CrossTenant-Network-Message-Id": "9e3d49be-6a37-425d-14af-08d6e4f6efb7", "X-MS-Exchange-CrossTenant-originalarrivaltime": "30 May 2019 12:04:15.7932\n\t(UTC)", "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted", "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635", "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED", "X-MS-Exchange-CrossTenant-userprincipalname": "pankit.garg@nxp.com", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AM6PR04MB4806", "X-Mailman-Approved-At": "Thu, 30 May 2019 13:23:20 +0000", "Subject": "[U-Boot] [PATCH 2/2] armv8: fsl-layerscape: Change bootcmd update\n\tlogic", "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>", "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": "Change bootcmd update logic when CONFIG_ENV_ADDR is not defined\n\nSigned-off-by: Pankit Garg <pankit.garg@nxp.com>\n---\nChanges for v2:\n - add NXP copyright\n\n arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c\r\nindex aeaf7b8..a4b6faf 100644\r\n--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c\r\n+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c\r\n@@ -1,6 +1,7 @@\r\n // SPDX-License-Identifier: GPL-2.0+\r\n /*\r\n * Copyright 2014-2015 Freescale Semiconductor\r\n+ * Copyright 2019 NXP\r\n */\r\n \r\n #include <common.h>\r\n@@ -874,7 +875,11 @@ int board_late_init(void)\r\n \t * check if gd->env_addr is default_environment; then setenv bootcmd\r\n \t * and mcinitcmd.\r\n \t */\r\n+#if !defined(CONFIG_ENV_ADDR) || defined(ENV_IS_EMBEDDED)\r\n+\tif (gd->env_addr == (ulong)&default_environment[0]) {\r\n+#else\r\n \tif (gd->env_addr + gd->reloc_off == (ulong)&default_environment[0]) {\r\n+#endif\r\n \t\tfsl_setenv_bootcmd();\r\n \t\tfsl_setenv_mcinitcmd();\r\n \t}\r\n", "prefixes": [ "U-Boot", "2/2" ] }