From patchwork Tue Oct 17 04:42:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116008 Delivered-To: patch@linaro.org Received: by 10.80.163.170 with SMTP id s39csp820604edb; Mon, 16 Oct 2017 21:47:00 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBM7jUQMNhE3Wo8uUYTmJ11QnY8vGX/TijhG7Ys0K0CFzzwNO2F8cEAOuJR5pWNb47kRCII X-Received: by 10.80.161.134 with SMTP id 6mr15365511edk.197.1508215620127; Mon, 16 Oct 2017 21:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508215620; cv=none; d=google.com; s=arc-20160816; b=oGPtl8HLx9N6Fy40kqArLfHNCeWZ2o43d4OSm4+TNzXFNsPehGZxGO6BEzSp6y+VRP yQHrRIL9g02pcv/nH0tVbkHnubcI0+ZbLjdOdHeCMz8as5bHD+sIA2APLobP/9At7+v+ RhE6ECNthgB/74gBr5MovKvKsrmyIAgXQ/2er544HmDbezfLrqXvv6IZts3j8SjDaFe+ IWoJHspBocWdAdz/XrQq5FgOsWNlNqWffB18KCTbz6d5l+CCNh592HJ/3jmyKFjVFcl7 i4QWfAG50wlvdIxI0agXzZ599Qf6BzeKkC23XFHYcx3cgbjKYrNSRVFs7wz7fv7+ZB3Y 6DTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=RUggmH0d4w8WGBCaRWro7BxNgHOn8wWINaf7DLbF46o=; b=A9BBGVu22gk/0A/7cOt3TKFUvBJdvJE6FqnBX/aaCRuY+wPyuqtk4Z2ZuWf/gOcjbY RwlaNQsU/lLLtPjN6oi8hHTKXl3g334V7K84HS1vKDmQwpFvoUkMdHf0Tg6+DK4VktHh mpnA+N9P9bXs60t4Hm3FZEHToMyKpHl/WBeEfb8+YyQdDBYZixkimWJXA8IkraRCtuT2 4XftcN5G5C7OQlB1Fj+nELfGr/8hoSlWBF3/bNwb89CwKSjfGNB4eKzW3VTMHhNEnV6j ZTYwObEdzIRaW0eaC/zo8eOSIFvux9/bKDMC7c/+XuUospkImQ90/QOG7PylvemaiKbm Tvyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=QftaUfiR; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id h52si225561edh.149.2017.10.16.21.46.59; Mon, 16 Oct 2017 21:47:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=QftaUfiR; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id B64FFC21D80; Tue, 17 Oct 2017 04:46:51 +0000 (UTC) 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=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0F1C3C21D76; Tue, 17 Oct 2017 04:43:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C3E05C21C8F; Tue, 17 Oct 2017 04:43:43 +0000 (UTC) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lists.denx.de (Postfix) with ESMTPS id DBF2AC21DC3 for ; Tue, 17 Oct 2017 04:43:35 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id v9H4gltU026811; Tue, 17 Oct 2017 13:42:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v9H4gltU026811 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508215367; bh=OXhXJMsakwFuz2q0KLGsSkOmmhaf8NI6vPsPIkYd+6E=; h=From:To:Cc:Subject:Date:From; b=QftaUfiR5ORB2TKUDD5ufdUgC2IWPEk5EvJ5k6GSXIeXNrCx6THc9QO8Ka+ePJLWG pXr/gvzq79RFSBqwf8kcK7KPSd6xJG9D7BzSfSnP/ul5lxDD00ji5E4F7EZl615WWw dN6JPSwvfKEWFv3FMUYpRxmBVBi0dhh/GYIAyGBPuo3twsnNQGqvSPkvf1v/EWXprT gctWbtgkQ5SOSQw/yVl6JEw6cwoxERxUsIXWOAcLNvJMw0VXlpumz0C3DQLaSr8AWI Rq/2yLI0P4VGYwjwoaF6HlFi/+DQXWZ+HNgVu4gMUIeqmODXFRWXEINL7yWZ3FDKO6 3a3ifltUikiTw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 17 Oct 2017 13:42:40 +0900 Message-Id: <1508215364-14631-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Tom Rini Subject: [U-Boot] [PATCH v2 0/4] pylibfdt: compile pylibfdt in scripts/dtc/pylibfdt only when necessary X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" V2: resync scripts/dtc/ with linux-next-20171016 Masahiro Yamada (3): scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile pylibfdt: compile pylibfdt only when dtoc/binman is necessary Rob Herring (1): scripts/dtc: add fdt_overlay.c and fdt_addresses.c to sync script Makefile | 17 +- arch/arm/Kconfig | 1 + arch/x86/Kconfig | 1 + dts/Kconfig | 13 + scripts/Makefile.spl | 17 +- scripts/dtc/Makefile | 3 + scripts/dtc/checks.c | 280 +++++++ scripts/dtc/dtc-lexer.lex.c_shipped | 216 +++--- scripts/dtc/dtc-parser.tab.c_shipped | 464 +++++------ scripts/dtc/dtc-parser.tab.h_shipped | 8 +- scripts/dtc/dtc-parser.y | 20 +- scripts/dtc/dtc.h | 2 + scripts/dtc/libfdt/fdt_addresses.c | 96 +++ scripts/dtc/libfdt/fdt_overlay.c | 861 +++++++++++++++++++++ scripts/dtc/livetree.c | 28 + scripts/dtc/pylibfdt/.gitignore | 4 + scripts/dtc/pylibfdt/Makefile | 30 + .../dtc/pylibfdt/libfdt.i_shipped | 0 {lib/libfdt => scripts/dtc}/pylibfdt/setup.py | 0 scripts/dtc/update-dtc-source.sh | 4 +- scripts/dtc/version_gen.h | 2 +- tools/.gitignore | 4 - tools/Makefile | 30 - tools/binman/binman.py | 2 +- 24 files changed, 1703 insertions(+), 400 deletions(-) create mode 100644 scripts/dtc/libfdt/fdt_addresses.c create mode 100644 scripts/dtc/libfdt/fdt_overlay.c create mode 100644 scripts/dtc/pylibfdt/.gitignore create mode 100644 scripts/dtc/pylibfdt/Makefile rename lib/libfdt/pylibfdt/libfdt.i => scripts/dtc/pylibfdt/libfdt.i_shipped (100%) rename {lib/libfdt => scripts/dtc}/pylibfdt/setup.py (100%)