From patchwork Wed Feb 5 17:04:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 24205 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 84D5E20675 for ; Wed, 5 Feb 2014 17:05:57 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id vb8sf3236271obc.6 for ; Wed, 05 Feb 2014 09:05:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=glvh2OxfrdoGAl6onprK4xacKmn69bW8Im2o4OsMAPE=; b=j0hdBpfHqMG6J+m6vjF/vNLS4DzeC7yWod3iNHZfORolD8kYJewBoLrB+X49ARVsg6 SJDYsHmlFiR90F/mJrBAdnVeoDSUfd7v6+671wSxyhVCCPrl4zSsatyrEjtpjvqfW5FZ aUeHNZtt1gwv8AIsxYNnL/ErGLsXEsO+Zs37W6ZdgHKANP6d/F2qnNl1YQFhz6wXfCxQ ezH8aoXjLx87sakEMDwsPVH65bwyBCWSt4A0TzLrnwiSMiXDUurT2pgLvzn7+Upb1cVM EhSJhuPWV7s5vJ9/3tLOdQcc+lf+kAoYuAaaST17gLwuh1nswYC+kU2esNdt+WRU3M7i ooGA== X-Gm-Message-State: ALoCoQkl15+8qyW5wkRMxdtiGLbZQPMI7X81J1/G79pU4UWwha9ca+P4WsMZ+styWNoV3D+HMg07 X-Received: by 10.50.253.196 with SMTP id ac4mr10664613igd.6.1391619956563; Wed, 05 Feb 2014 09:05:56 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.136 with SMTP id 8ls226343qgl.27.gmail; Wed, 05 Feb 2014 09:05:56 -0800 (PST) X-Received: by 10.52.188.41 with SMTP id fx9mr1420253vdc.19.1391619956439; Wed, 05 Feb 2014 09:05:56 -0800 (PST) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id vd4si9832385vdc.143.2014.02.05.09.05.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 09:05:56 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id p17so500699vbe.26 for ; Wed, 05 Feb 2014 09:05:56 -0800 (PST) X-Received: by 10.52.23.68 with SMTP id k4mr1467276vdf.24.1391619956347; Wed, 05 Feb 2014 09:05:56 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp64651vcz; Wed, 5 Feb 2014 09:05:55 -0800 (PST) X-Received: by 10.180.165.238 with SMTP id zb14mr17724237wib.51.1391619931519; Wed, 05 Feb 2014 09:05:31 -0800 (PST) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx.google.com with ESMTPS id hq3si9770270wib.38.2014.02.05.09.05.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 09:05:31 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.171 is neither permitted nor denied by best guess record for domain of leif.lindholm@linaro.org) client-ip=209.85.212.171; Received: by mail-wi0-f171.google.com with SMTP id cc10so794390wib.4 for ; Wed, 05 Feb 2014 09:05:31 -0800 (PST) X-Received: by 10.180.12.65 with SMTP id w1mr3337272wib.58.1391619930953; Wed, 05 Feb 2014 09:05:30 -0800 (PST) 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 p1sm47427211wie.1.2014.02.05.09.05.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Feb 2014 09:05:30 -0800 (PST) From: Leif Lindholm To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org Cc: patches@linaro.org, Mark Salter , Leif Lindholm Subject: [PATCH 15/22] lib: add fdt_empty_tree.c Date: Wed, 5 Feb 2014 17:04:06 +0000 Message-Id: <1391619853-10601-16-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1391619853-10601-1-git-send-email-leif.lindholm@linaro.org> References: <1391619853-10601-1-git-send-email-leif.lindholm@linaro.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.212.53 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 126b34f..ce085d2 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -146,7 +146,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"