Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817903/?format=api
{ "id": 817903, "url": "http://patchwork.ozlabs.org/api/patches/817903/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1506263222-7080-5-git-send-email-trini@konsulko.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": "<1506263222-7080-5-git-send-email-trini@konsulko.com>", "list_archive_url": null, "date": "2017-09-24T14:27:01", "name": "[U-Boot,4/5] dtc: Switch to building and using our own dtc unless provided", "commit_ref": "36dd5f1b8abcd0aa5f8490b3ef1e4e7ecce2eb8c", "pull_url": null, "state": "accepted", "archived": false, "hash": "b61d42dd2887b3b10ccadf8831eafa3e4e60c6ba", "submitter": { "id": 65875, "url": "http://patchwork.ozlabs.org/api/people/65875/?format=api", "name": "Tom Rini", "email": "trini@konsulko.com" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1506263222-7080-5-git-send-email-trini@konsulko.com/mbox/", "series": [ { "id": 4816, "url": "http://patchwork.ozlabs.org/api/series/4816/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=4816", "date": "2017-09-24T14:26:57", "name": "Follow the Linux Kernel in building dtc as needed", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4816/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817903/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817903/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>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0VHs5Lflz9sBd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 00:40:25 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 6A90FC2204D; Sun, 24 Sep 2017 14:39:57 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 51984C220E1;\n\tSun, 24 Sep 2017 14:39:44 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid D18A4C220A4; Sun, 24 Sep 2017 14:39:40 +0000 (UTC)", "from mail-yw0-f195.google.com (mail-yw0-f195.google.com\n\t[209.85.161.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 62793C220B9\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 14:39:35 +0000 (UTC)", "by mail-yw0-f195.google.com with SMTP id s62so2521675ywg.4\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 07:39:35 -0700 (PDT)", "from localhost.localdomain (cpe-65-184-142-68.ec.res.rr.com.\n\t[65.184.142.68]) by smtp.gmail.com with ESMTPSA id\n\tu194sm1849559ywu.38.2017.09.24.07.39.32 for <u-boot@lists.denx.de>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 24 Sep 2017 07:39:33 -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_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "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:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=CTLCXMSM3F7If8qWXG/scbr0iZChrM3e5ptjb4/XdlE=;\n\tb=Prfmr87IbvX6N1uiYwzFF5sg/X9JUUIy8Zr/8lXAv489q6MLgk/fgVL2K1WqGgchaM\n\taDXuDcekKAkPgRxmnoDJZ639R5VORxYfGxKnHZryTCMyl6YxTlHLTKyxXm7AZrW6+KuM\n\t9E0bBAXC4h0/o6hOsQHu7FZmb/MFOqdwmNGQhuHLXwm8fG8q/etzAbIl6RM9q/Q7ks+2\n\tuOMzv+P7UfNX6wQ0IpBVY6FQep16KFFXRKPVSC1Zlq230u1+kS3Vd/C2VVWbxSGjORVk\n\t7rIgCTsR+cM7itDO6BICsTQ0K/FzlMsO44WG23HQQ6MjYcsbw7VhIKfoszQz+65zBvDL\n\tpUZA==", "X-Gm-Message-State": "AHPjjUj/xw4PHJlxiwPwuzXT1uSLmP0t9O9OjmqPPNfwcGSNBfs6uWx/\n\tX3A+8Yuhp559h3ENGBc0lMQy", "X-Google-Smtp-Source": "AOwi7QA9qd1HHQYpsjvJoDUbYJj2ttlOD4DSaVmBDNxZ0T2/iXzOTLkeTUfw0joexkxkdY14W4dLrQ==", "X-Received": "by 10.13.220.2 with SMTP id f2mr2833834ywe.175.1506263973724;\n\tSun, 24 Sep 2017 07:39:33 -0700 (PDT)", "From": "Tom Rini <trini@konsulko.com>", "To": "u-boot@lists.denx.de", "Date": "Sun, 24 Sep 2017 10:27:01 -0400", "Message-Id": "<1506263222-7080-5-git-send-email-trini@konsulko.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1506263222-7080-1-git-send-email-trini@konsulko.com>", "References": "<1506263222-7080-1-git-send-email-trini@konsulko.com>", "Subject": "[U-Boot] [PATCH 4/5] dtc: Switch to building and using our own dtc\n\tunless provided", "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": "This makes us act like the Linux Kernel does and allow for dtc to be\nprovided externally but otherwise we use the version of dtc that is\nincluded in the sources. This in turn means that we can drop the\ncheckdtc logic. We select DTC in the cases where we will need the dtc\ntool provided.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\n .travis.yml | 6 ++----\n Makefile | 10 ++--------\n dts/Kconfig | 4 ++++\n scripts/Makefile | 1 +\n 4 files changed, 9 insertions(+), 12 deletions(-)", "diff": "diff --git a/.travis.yml b/.travis.yml\nindex 9dfd016da000..00b2a73a5eff 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -26,11 +26,9 @@ addons:\n - grub-efi-ia32-bin\n - rpm2cpio\n - wget\n+ - device-tree-compiler\n \n install:\n- # install latest device tree compiler\n- - git clone --depth=1 -b v1.4.3 git://git.kernel.org/pub/scm/utils/dtc/dtc.git /tmp/dtc\n- - make -j4 -C /tmp/dtc\n # Clone uboot-test-hooks\n - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks\n - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`\n@@ -51,7 +49,7 @@ install:\n \n env:\n global:\n- - PATH=/tmp/dtc:/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin\n+ - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin\n - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci\n - BUILD_DIR=build\n - HOSTCC=\"cc\"\ndiff --git a/Makefile b/Makefile\nindex e058e9854b7b..b7d5cbb3f9ad 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -349,7 +349,7 @@ OBJDUMP\t\t= $(CROSS_COMPILE)objdump\n AWK\t\t= awk\n PERL\t\t= perl\n PYTHON\t\t?= python\n-DTC\t\t?= dtc\n+DTC\t\t?= $(objtree)/scripts/dtc/dtc\n CHECK\t\t= sparse\n \n CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \\\n@@ -872,7 +872,7 @@ endif\n PHONY += dtbs\n dtbs: dts/dt.dtb\n \t@:\n-dts/dt.dtb: checkdtc u-boot\n+dts/dt.dtb: u-boot\n \t$(Q)$(MAKE) $(build)=dts dtbs\n \n quiet_cmd_copy = COPY $@\n@@ -1447,12 +1447,6 @@ SYSTEM_MAP = \\\n System.map:\tu-boot\n \t\t@$(call SYSTEM_MAP,$<) > $@\n \n-checkdtc:\n-\t@if test $(call dtc-version) -lt 010403; then \\\n-\t\techo '*** Your dtc is too old, please upgrade to dtc 1.4.3 or newer'; \\\n-\t\tfalse; \\\n-\tfi\n-\n #########################################################################\n \n # ARM relocations should all be R_ARM_RELATIVE (32-bit) or\ndiff --git a/dts/Kconfig b/dts/Kconfig\nindex b4b7ddc1444a..44fc9fe36dd7 100644\n--- a/dts/Kconfig\n+++ b/dts/Kconfig\n@@ -5,11 +5,15 @@\n config SUPPORT_OF_CONTROL\n \tbool\n \n+config DTC\n+\tbool\n+\n menu \"Device Tree Control\"\n \tdepends on SUPPORT_OF_CONTROL\n \n config OF_CONTROL\n \tbool \"Run-time configuration via Device Tree\"\n+\tselect DTC\n \thelp\n \t This feature provides for run-time configuration of U-Boot\n \t via a flattened device tree.\ndiff --git a/scripts/Makefile b/scripts/Makefile\nindex 3e10c16d59fd..9d55241463d4 100644\n--- a/scripts/Makefile\n+++ b/scripts/Makefile\n@@ -21,3 +21,4 @@ build_docproc: $(obj)/docproc\n \n # Let clean descend into subdirs\n subdir-\t+= basic kconfig\n+subdir-$(CONFIG_DTC)\t+= dtc\n", "prefixes": [ "U-Boot", "4/5" ] }