Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/955954/?format=api
{ "id": 955954, "url": "http://patchwork.ozlabs.org/api/patches/955954/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-26-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-26-jagan@amarulasolutions.com>", "list_archive_url": null, "date": "2018-08-10T06:06:43", "name": "[U-Boot,v2,25/53] fastboot: sunxi: Update fastboot mmc default device", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "b648730492683c935aac7c7f82cd7a78cb457e9f", "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-26-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/955954/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/955954/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=\"NToUnMUC\"; \n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41mvz33Wf0z9s8f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 10 Aug 2018 16:16:46 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid AC34BC21C8B; Fri, 10 Aug 2018 06:16:04 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 1707FC21E74;\n\tFri, 10 Aug 2018 06:10:03 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 2D71FC21DF8; Fri, 10 Aug 2018 06:09:18 +0000 (UTC)", "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n\t[209.85.210.194])\n\tby lists.denx.de (Postfix) with ESMTPS id E556AC21D8E\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2018 06:09:13 +0000 (UTC)", "by mail-pf1-f194.google.com with SMTP id j26-v6so4004512pfi.10\n\tfor <u-boot@lists.denx.de>; Thu, 09 Aug 2018 23:09:13 -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.08\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 09 Aug 2018 23:09:12 -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=apNYimDCC5pi+6lMxE5k2dQh9P6UkEWlvkFGeiAVEww=;\n\tb=NToUnMUC9ImHf/aS8c45AMOIwR1PIjkmQMYVBCTBWdCPdXPIq7CrhzUSc1/2tNkBy9\n\t7pcBkKqMVq/pl5zkHdSlWJoFwDtywSq3tdRSgOBXj3bO+YUQVzZbThwddris/8D0AOPP\n\tdLkIn5DKq+eB/w9AgnikFjJCwwuFwTmI4dtJg=", "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=apNYimDCC5pi+6lMxE5k2dQh9P6UkEWlvkFGeiAVEww=;\n\tb=es0oimoLax73B0m5kdY7ABKQbclA43gdSKaOje1I9k0cQTUcmtU8Dvj3P79JK+1AUp\n\tkAtb1mpCPzO56+iR5KRJr2nA7is+UvBCAK1s4ntbj9mshIvsGLYJa1lzsQj0n90/Kzst\n\t7qBD9NPG8BXzaWksxwiXJrfWm+rZ6AXDAhMFYaTmP74ix9XcWhuhhlBG365BuBUW5JM7\n\tUF4i5kpJ6Lu81tr9ayhf5d+IeRWHMDnCoJD0l7MteA1s/7Nz5YTik172ZybBrSV0ElPt\n\tSj5g17P5u7dUQgJPde3eTwLAV1ZRwP1i41vj2A9K5lsgvauwj8V/fvq4hSMB18nJYg4o\n\tEr9A==", "X-Gm-Message-State": "AOUpUlH0dppoyOpbB+KXBt1B5JywvtWxiWFaf07ygzSB1ThO3Qc2pubO\n\tG0A/ZNJdenV0qI5mWjCL0tpAwg==", "X-Google-Smtp-Source": "AA+uWPx2eKctsOTvjCvcZwYXe4iO/AKA+fkBRwEHjWBMPJaGNhkmagAnT4Gr5dylRIWazVhweZWsyQ==", "X-Received": "by 2002:a63:2dc1:: with SMTP id\n\tt184-v6mr5038874pgt.62.1533881352538; \n\tThu, 09 Aug 2018 23:09:12 -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:43 +0530", "Message-Id": "<20180810060711.6547-26-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": "Olliver Schinagl <oliver@schinagl.nl>, Tom Rini <trini@konsulko.com>,\n\tu-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH v2 25/53] fastboot: sunxi: Update fastboot mmc\n\tdefault device", "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": "Usually eMMC is default env fat device for environment,\nif MMC_SUNXI_SLOT_EXTRA != 1 Sunxi always probed emmc\ndevice as 1. but with DM_MMC it can be more possible to\nprobe eMMC as device 2 since for most of the sunxi platforms\neMMC is configured mmc2.\n\nSo update the fastboot mmc default device as 2 if DM_MMC and\nMMC_SUNXI_SLOT_EXTRA != 1 slot is 2 defined but some boards\nmay not use all possible mmc devices or partly disabled in DT,\nfor those update the device in board specific defconfig.\n\nCc: Olliver Schinagl <oliver@schinagl.nl>\nCc: Chen-Yu Tsai <wens@csie.org>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n configs/A20-OLinuXino-Lime2-eMMC_defconfig | 1 +\n configs/Sinlinx_SinA33_defconfig | 1 +\n configs/amarula_a64_relic_defconfig | 1 +\n drivers/fastboot/Kconfig | 3 ++-\n 4 files changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig\nindex 2851a461e8..8cedf9cf24 100644\n--- a/configs/A20-OLinuXino-Lime2-eMMC_defconfig\n+++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig\n@@ -30,4 +30,5 @@ CONFIG_SCSI=y\n CONFIG_USB_OHCI_HCD=y\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n+CONFIG_FASTBOOT_FLASH_MMC_DEV=1\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\ndiff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig\nindex 7f5aaab5fb..80741b58f9 100644\n--- a/configs/Sinlinx_SinA33_defconfig\n+++ b/configs/Sinlinx_SinA33_defconfig\n@@ -22,5 +22,6 @@ CONFIG_FASTBOOT_CMD_OEM_FORMAT=y\n CONFIG_USB_OHCI_HCD=y\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n+CONFIG_FASTBOOT_FLASH_MMC_DEV=1\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_FUNCTION_MASS_STORAGE=y\ndiff --git a/configs/amarula_a64_relic_defconfig b/configs/amarula_a64_relic_defconfig\nindex b72cbfabc6..caeb3f6008 100644\n--- a/configs/amarula_a64_relic_defconfig\n+++ b/configs/amarula_a64_relic_defconfig\n@@ -12,4 +12,5 @@ CONFIG_DEFAULT_DEVICE_TREE=\"sun50i-a64-amarula-relic\"\n # CONFIG_SPL_DOS_PARTITION is not set\n # CONFIG_SPL_EFI_PARTITION is not set\n CONFIG_USB_MUSB_GADGET=y\n+CONFIG_FASTBOOT_FLASH_MMC_DEV=0\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\ndiff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig\nindex bc25ea1d9c..4a1bfd119c 100644\n--- a/drivers/fastboot/Kconfig\n+++ b/drivers/fastboot/Kconfig\n@@ -88,7 +88,8 @@ config FASTBOOT_FLASH_MMC_DEV\n \tint \"Define FASTBOOT MMC FLASH default device\"\n \tdepends on FASTBOOT_FLASH_MMC\n \tdefault 0 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1\n-\tdefault 1 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1\n+\tdefault 1 if ARCH_SUNXI && !DM_MMC && MMC_SUNXI_SLOT_EXTRA != -1\n+\tdefault 2 if ARCH_SUNXI && DM_MMC && MMC_SUNXI_SLOT_EXTRA != -1\n \thelp\n \t The fastboot \"flash\" command requires additional information\n \t regarding the non-volatile storage device. Define this to\n", "prefixes": [ "U-Boot", "v2", "25/53" ] }