From patchwork Thu Mar 13 22:46:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 26233 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CF921203AC for ; Thu, 13 Mar 2014 22:50:58 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oy12sf3859755veb.11 for ; Thu, 13 Mar 2014 15:50:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=sD80E1/1oZk/1eUvAHEnc4jZVe2XUy5OPMO6nDun60E=; b=LIMso6hbsi6ltoQWruQctdhEw0BIeIzLxrVaP6PHYzj7hzWFlORxofkMPnR9veaG4z 3EmEatPOJCef8S7J9EfrJGldJ1Alt0+jOCy5x1Md6gaDGH6rSt7dKRZTO3NiwYNnLxtO kjwm7o3rtV6zvvu+m4EgNK1arJHtIoh6SYLRXrJf9Jj48fWJwNFl5htTRZUV3A4oBD+4 ZeM6TtOWYAgo7thOIgDjYHig8os5Pyk+rjIf0ZYuNK3Fv2MkHvfOxntOg/4tLy49O8IR YcMXmgACM7F9WdpKLl6ieOMkY+ifK0LPAf6N+VSINVSmGm2ArcSTGiZ3pMpoT6DiOFIv yKfg== X-Gm-Message-State: ALoCoQkBux34FxGDtWoNnnbjZU5UJVv9zcwek0jEDqJY61fsyaCft5xpzjdAir+0Ik+2MCwqRkjD X-Received: by 10.58.132.210 with SMTP id ow18mr1700682veb.8.1394751058569; Thu, 13 Mar 2014 15:50:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.169 with SMTP id o38ls469630qge.37.gmail; Thu, 13 Mar 2014 15:50:58 -0700 (PDT) X-Received: by 10.220.106.84 with SMTP id w20mr3533396vco.18.1394751058486; Thu, 13 Mar 2014 15:50:58 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id sr19si1364267vcb.146.2014.03.13.15.50.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 15:50:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so1894408vcb.38 for ; Thu, 13 Mar 2014 15:50:58 -0700 (PDT) X-Received: by 10.52.18.70 with SMTP id u6mr2972151vdd.11.1394751058385; Thu, 13 Mar 2014 15:50:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp10335vck; Thu, 13 Mar 2014 15:50:57 -0700 (PDT) X-Received: by 10.180.87.9 with SMTP id t9mr3493319wiz.36.1394751057519; Thu, 13 Mar 2014 15:50:57 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id cr4si2562810wjc.137.2014.03.13.15.50.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Mar 2014 15:50:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOER2-0001Nx-9t; Thu, 13 Mar 2014 22:49:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOEQr-0002B4-LW; Thu, 13 Mar 2014 22:48:57 +0000 Received: from mail-wi0-f170.google.com ([209.85.212.170]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOEQN-000244-E2 for linux-arm-kernel@lists.infradead.org; Thu, 13 Mar 2014 22:48:28 +0000 Received: by mail-wi0-f170.google.com with SMTP id n15so4199490wiw.1 for ; Thu, 13 Mar 2014 15:48:05 -0700 (PDT) X-Received: by 10.180.77.74 with SMTP id q10mr3508722wiw.39.1394750885670; Thu, 13 Mar 2014 15:48:05 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu (cpc4-cmbg17-2-0-cust71.5-4.cable.virginm.net. [86.14.224.72]) by mx.google.com with ESMTPSA id dk9sm9072133wjb.4.2014.03.13.15.48.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Mar 2014 15:48:04 -0700 (PDT) From: Leif Lindholm To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, catalin.marinas@arm.com, matt.fleming@intel.com Subject: [PATCH v2 04/15] lib: add fdt_empty_tree.c Date: Thu, 13 Mar 2014 22:46:57 +0000 Message-Id: <1394750828-16351-5-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1394750828-16351-1-git-send-email-leif.lindholm@linaro.org> References: <1394750828-16351-1-git-send-email-leif.lindholm@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140313_184827_627385_8709B86C X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.170 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: roy.franz@linaro.org, Leif Lindholm , msalter@redhat.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leif.lindholm@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Mark Salter CONFIG_LIBFDT support does not include fdt_empty_tree.c which is needed by arm64 EFI stub. Add it to libfdt_files. Signed-off-by: Mark Salter Signed-off-by: Leif Lindholm --- lib/Makefile | 3 ++- lib/fdt_empty_tree.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 lib/fdt_empty_tree.c diff --git a/lib/Makefile b/lib/Makefile index 48140e3..befe555 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -147,7 +147,8 @@ obj-$(CONFIG_GENERIC_NET_UTILS) += net_utils.o obj-$(CONFIG_STMP_DEVICE) += stmp_device.o -libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o +libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \ + fdt_empty_tree.o $(foreach file, $(libfdt_files), \ $(eval CFLAGS_$(file) = -I$(src)/../scripts/dtc/libfdt)) lib-$(CONFIG_LIBFDT) += $(libfdt_files) diff --git a/lib/fdt_empty_tree.c b/lib/fdt_empty_tree.c new file mode 100644 index 0000000..5d30c58 --- /dev/null +++ b/lib/fdt_empty_tree.c @@ -0,0 +1,2 @@ +#include +#include "../scripts/dtc/libfdt/fdt_empty_tree.c"