{"id":814345,"url":"http://patchwork.ozlabs.org/api/patches/814345/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1505495725-26350-1-git-send-email-trini@konsulko.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","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":"<1505495725-26350-1-git-send-email-trini@konsulko.com>","list_archive_url":null,"date":"2017-09-15T17:15:25","name":"[U-Boot] Makefile: Update minimum dtc version to 1.4.3","commit_ref":"2fa73e784da105419b7d9d07d8f9d4a79afe531a","pull_url":null,"state":"accepted","archived":false,"hash":"2fa42480f4d77b0c115faf49fd8ff3d7407102d4","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/?format=json","name":"Tom Rini","email":"trini@konsulko.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1505495725-26350-1-git-send-email-trini@konsulko.com/mbox/","series":[{"id":3340,"url":"http://patchwork.ozlabs.org/api/series/3340/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3340","date":"2017-09-15T17:15:25","name":"[U-Boot] Makefile: Update minimum dtc version to 1.4.3","version":1,"mbox":"http://patchwork.ozlabs.org/series/3340/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814345/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814345/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 3xv29B22pbz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 03:15:41 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 8B209C21C5C; Fri, 15 Sep 2017 17:15:34 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6C5D9C21C4A;\n\tFri, 15 Sep 2017 17:15:32 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D0A02C21C4A; Fri, 15 Sep 2017 17:15:30 +0000 (UTC)","from mail-yw0-f193.google.com (mail-yw0-f193.google.com\n\t[209.85.161.193])\n\tby lists.denx.de (Postfix) with ESMTPS id 498DBC21C3C\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 17:15:30 +0000 (UTC)","by mail-yw0-f193.google.com with SMTP id q80so2043801ywg.0\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 10:15:30 -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\tq31sm494507ywa.25.2017.09.15.10.15.27\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 15 Sep 2017 10:15:28 -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:cc:subject:date:message-id;\n\tbh=2AMZuKB9WhigEdKu3ABHLWSCM9PS04ikX/awDDXuCJY=;\n\tb=aEFXtCO3Kx5h6lxgy/9wQqALDjvP3tDiNNsrc4aPboy82vRM5jfzT9g//h9au2GSMC\n\tO4CQrVnBZph3y09o5jZKM3s9G6/q5daQ4p4iZjxkJnYhRwu8f1wLX+CZLHjzOHVQ4bDy\n\t3ScCmFCzpaElPEW+S75tkKtQTH5VvJ+zRHGyN2h5HMizczf8bn/MadUjaJuKeTgOzmAn\n\tZquru6ktdoo4dhUUxi6uERtQbKcpcUdZlj+lPPgiKyNMLlTA2oKNXpibrc52NSERQ/ww\n\tQLulQbpCeWzdePsxYdhi9Oaj8Fnu/Z475YhaNXrsSDQRIrW0sa3n69Uinbj2CoLvNF9X\n\tCHew==","X-Gm-Message-State":"AHPjjUglOmW7Jg0aHcec/5NSuaGfwXVKvYCUhC8Rsi/qFbiHHmMD4dkc\n\tF0PUq/PFABLNFrTO","X-Google-Smtp-Source":"AOwi7QBJEIcc319417O7VdzWzCaPiCr8/sWm8KXxyYLq/aIKeGtvdIHLxX3f4nq3Mhh9lzQmnhJgrA==","X-Received":"by 10.37.64.16 with SMTP id n16mr22508264yba.70.1505495728936;\n\tFri, 15 Sep 2017 10:15:28 -0700 (PDT)","From":"Tom Rini <trini@konsulko.com>","To":"u-boot@lists.denx.de","Date":"Fri, 15 Sep 2017 13:15:25 -0400","Message-Id":"<1505495725-26350-1-git-send-email-trini@konsulko.com>","X-Mailer":"git-send-email 1.9.1","Subject":"[U-Boot] [PATCH] Makefile: Update minimum dtc version to 1.4.3","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":"With support for overlays and calling the -@ flag to dtc we need to have\nat least 1.4.3 available now.\n\nCc: Simon Glass <sjg@chromium.org>\nReported-by: Stephen Warren <swarren@wwwdotorg.org>\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\nSimon, please make sure to grab this one too with Pantelis' series,\nthanks!\n---\n Makefile               | 4 ++--\n scripts/dtc-version.sh | 7 ++++---\n 2 files changed, 6 insertions(+), 5 deletions(-)","diff":"diff --git a/Makefile b/Makefile\nindex 8250b3409a68..e058e9854b7b 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1448,8 +1448,8 @@ System.map:\tu-boot\n \t\t@$(call SYSTEM_MAP,$<) > $@\n \n checkdtc:\n-\t@if test $(call dtc-version) -lt 0104; then \\\n-\t\techo '*** Your dtc is too old, please upgrade to dtc 1.4 or newer'; \\\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 \ndiff --git a/scripts/dtc-version.sh b/scripts/dtc-version.sh\nindex e8c94d390baa..0744c39eb04c 100755\n--- a/scripts/dtc-version.sh\n+++ b/scripts/dtc-version.sh\n@@ -2,8 +2,8 @@\n #\n # dtc-version dtc-command\n #\n-# Prints the dtc version of `dtc-command' in a canonical 4-digit form\n-# such as `0222' for binutils 2.22\n+# Prints the dtc version of `dtc-command' in a canonical 6-digit form\n+# such as `010404'  for dtc 1.4.4\n #\n \n dtc=\"$*\"\n@@ -16,5 +16,6 @@ fi\n \n MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1)\n MINOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 2)\n+PATCH=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 3 | cut -d - -f 1)\n \n-printf \"%02d%02d\\\\n\" $MAJOR $MINOR\n+printf \"%02d%02d%02d\\\\n\" $MAJOR $MINOR $PATCH\n","prefixes":["U-Boot"]}