Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/956008/?format=api
{ "id": 956008, "url": "http://patchwork.ozlabs.org/api/patches/956008/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-28-jagan@amarulasolutions.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": "<20180810060711.6547-28-jagan@amarulasolutions.com>", "list_archive_url": null, "date": "2018-08-10T06:06:45", "name": "[U-Boot,v2,27/53] sunxi: Use mmc_bootdev=2 for MMC2 boot", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "c4e2e8a2b76aaf0e3c3fb96cba777a986d3002e5", "submitter": { "id": 69820, "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api", "name": "Jagan Teki", "email": "jagan@amarulasolutions.com" }, "delegate": { "id": 17739, "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api", "username": "jagan", "first_name": "Jagannadha Sutradharudu", "last_name": "Teki", "email": "jagannadh.teki@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-28-jagan@amarulasolutions.com/mbox/", "series": [ { "id": 60190, "url": "http://patchwork.ozlabs.org/api/series/60190/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=60190", "date": "2018-08-10T06:06:18", "name": "clk: Add Allwinner CLK, RESET support", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/60190/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/956008/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/956008/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; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"UDosG41G\"; \n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41mwYl3Y66z9sBn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 10 Aug 2018 16:43:23 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 136DFC21DA6; Fri, 10 Aug 2018 06:30:18 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CB567C21F2F;\n\tFri, 10 Aug 2018 06:19:19 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 5F2B5C21F04; Fri, 10 Aug 2018 06:09:27 +0000 (UTC)", "from mail-pf1-f196.google.com (mail-pf1-f196.google.com\n\t[209.85.210.196])\n\tby lists.denx.de (Postfix) with ESMTPS id C2502C21E16\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2018 06:09:22 +0000 (UTC)", "by mail-pf1-f196.google.com with SMTP id i26-v6so4004586pfo.12\n\tfor <u-boot@lists.denx.de>; Thu, 09 Aug 2018 23:09:22 -0700 (PDT)", "from localhost.localdomain ([183.82.228.250])\n\tby smtp.gmail.com with ESMTPSA id\n\tr23-v6sm16880975pfj.5.2018.08.09.23.09.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 09 Aug 2018 23:09:20 -0700 (PDT)" ], "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=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Vsy2MZkYa1qv3JGbbNiPT7jhxtSKHABcJzrx8vp+w9E=;\n\tb=UDosG41G/AD8kygqgcHkDGLUZaknhwqQZxNd7WSBptosmJnadrrQ4JWxj3lfYtGfnr\n\tg9WrYXa2p3APY4mos6BLEMwpXzhJo/R/TUUqnzXy+ShSlqg1nQaQMGztXxT1GLgCnZZh\n\t+xDK60I+TWd/5oY25kcPNSbx+xScOPwUfD1yg=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=Vsy2MZkYa1qv3JGbbNiPT7jhxtSKHABcJzrx8vp+w9E=;\n\tb=LNKj+kV3eQU3T1p1jBj/u/S7S9OP4FqYKPfm9UE2CTasA6Zvb/RbqNYBQsY8L1oZxP\n\t7CWKLthEtwWpdLOX9IuxqEiIJbLso9UoTFkCsT9aFtPf7jRHhp20sjv0dkzFNaBja39W\n\teKhUCjJ1rw7pAT73DNkBG2WYtYd+KVFDk7vE9CoBayf0JoHKgy7mDGjXNHTknUt6RI1a\n\t6asaT6ubJQLxyNprgZNm+jBIADL6MKyLERQwSrB+U/JStGSO3iuTwoo3erEmWnTj5eVx\n\tK+wyApkKBywNoB30RiQhZ1CV7kfhYoUCgbPBfo1yu7oMu/ikQwOUoAmBj7DSy6UkBI28\n\tIpUg==", "X-Gm-Message-State": "AOUpUlFZV1CiUkNxjeXEFM9TWDuIodHK9VGLoDc42JmqZvnlQYPfYmoZ\n\tXZGR8hSoNDOWlQsXDJ1LA/ae3w==", "X-Google-Smtp-Source": "AA+uWPxdTuBsgR6fUhzquzt02YIwPd/2FKJJUdiMn9ig0G3Kv6fpEAbh+/XZXDhTtiyft7xj8tEOuw==", "X-Received": "by 2002:a65:5c83:: with SMTP id\n\ta3-v6mr5053910pgt.164.1533881361396; \n\tThu, 09 Aug 2018 23:09:21 -0700 (PDT)", "From": "Jagan Teki <jagan@amarulasolutions.com>", "To": "Maxime Ripard <maxime.ripard@bootlin.com>,\n\tAndre Przywara <andre.przywara@arm.com>, Chen-Yu Tsai <wens@csie.org>,\n\tIcenowy Zheng <icenowy@aosc.io>", "Date": "Fri, 10 Aug 2018 11:36:45 +0530", "Message-Id": "<20180810060711.6547-28-jagan@amarulasolutions.com>", "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3", "In-Reply-To": "<20180810060711.6547-1-jagan@amarulasolutions.com>", "References": "<20180810060711.6547-1-jagan@amarulasolutions.com>", "MIME-Version": "1.0", "Cc": "Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH v2 27/53] sunxi: Use mmc_bootdev=2 for MMC2 boot", "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": "With DM_MMC the mmc devices are probed as per dt status\nand eMMC can probed maximum device of 2, if all nodes like\nmmc0, mmc1 and mmc2 status are 'okay'.\n\nSo update mmc_bootdev to 2 and add boot order as 2, 1, 0\ndevices. so-that it can to boot any identified device even\nif the respective device status disabled or unsupported.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n board/sunxi/board.c | 2 +-\n include/configs/sunxi-common.h | 4 +++-\n 2 files changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/board/sunxi/board.c b/board/sunxi/board.c\nindex 857d5ff010..89012daad1 100644\n--- a/board/sunxi/board.c\n+++ b/board/sunxi/board.c\n@@ -775,7 +775,7 @@ int misc_init_r(void)\n \t} else if (boot == BOOT_DEVICE_MMC1) {\n \t\tenv_set(\"mmc_bootdev\", \"0\");\n \t} else if (boot == BOOT_DEVICE_MMC2) {\n-\t\tenv_set(\"mmc_bootdev\", \"1\");\n+\t\tenv_set(\"mmc_bootdev\", \"2\");\n \t}\n \n \tsetup_environment(gd->fdt_blob);\ndiff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h\nindex f1578d3754..9016c048ab 100644\n--- a/include/configs/sunxi-common.h\n+++ b/include/configs/sunxi-common.h\n@@ -377,8 +377,10 @@ extern int soft_i2c_gpio_scl;\n #define BOOTENV_DEV_MMC_AUTO(devtypeu, devtypel, instance)\t\t\\\n \tBOOTENV_DEV_MMC(MMC, mmc, 0)\t\t\t\t\t\\\n \tBOOTENV_DEV_MMC(MMC, mmc, 1)\t\t\t\t\t\\\n+\tBOOTENV_DEV_MMC(MMC, mmc, 2)\t\t\t\t\t\\\n \t\"bootcmd_mmc_auto=\"\t\t\t\t\t\t\\\n-\t\t\"if test ${mmc_bootdev} -eq 1; then \"\t\t\t\\\n+\t\t\"if test ${mmc_bootdev} -eq 2; then \"\t\t\t\\\n+\t\t\t\"run bootcmd_mmc2; \"\t\t\t\t\\\n \t\t\t\"run bootcmd_mmc1; \"\t\t\t\t\\\n \t\t\t\"run bootcmd_mmc0; \"\t\t\t\t\\\n \t\t\"elif test ${mmc_bootdev} -eq 0; then \"\t\t\t\\\n", "prefixes": [ "U-Boot", "v2", "27/53" ] }