From patchwork Fri Apr 4 18:45:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 27863 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0E4B420369 for ; Fri, 4 Apr 2014 18:49:17 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf13252532iec.8 for ; Fri, 04 Apr 2014 11:49:17 -0700 (PDT) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=bI34tajfrjaSNVste+vvhskxhzVkcKuHNb9wNQ+FWss=; b=jPULaOCGoDJY69yEdMDP3GG31bK173KRlLstMSeBmUBMveUq13JhNopPaDgEMrQp19 R5eN+ERy4KwltVtbfBiPoK3Tq640fgDeCtCXEUaIfucUObyUuH9/2r8Ob3if6wjKtXUr 9H/pxxe+bp1aqck1jD4eJOOlifyNbYHxqDrH3WQIaEN2uORVYXg5ieOL1+8UDwBwJ8gj 8XYu6sZtUOUsl5igrEH7bMmKTl2ZiFv6HBsZcmqY/tPpoJ+rkSO8JJsLtGg3sk4TNEjJ p0xwQbLUx7eguVAs3GpUoTxZL+X82Ti6BNRc9fvNg5R9WbxbKWBpuSRVD7oFJXekbqUH Ahwg== X-Gm-Message-State: ALoCoQk97nowMe8Cj4Cp85T0Pyxt8aoJt9+BCA7+KSfff3FIFMrDkUDR8dpJT1nRzttL1s+waNxq X-Received: by 10.50.20.71 with SMTP id l7mr2713674ige.5.1396637357477; Fri, 04 Apr 2014 11:49:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.45 with SMTP id l42ls1109458qga.50.gmail; Fri, 04 Apr 2014 11:49:17 -0700 (PDT) X-Received: by 10.52.134.202 with SMTP id pm10mr486484vdb.55.1396637357402; Fri, 04 Apr 2014 11:49:17 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id cp10si873436ved.74.2014.04.04.11.49.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 11:49:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id if17so3385151vcb.22 for ; Fri, 04 Apr 2014 11:49:17 -0700 (PDT) X-Received: by 10.52.137.74 with SMTP id qg10mr14702vdb.61.1396637357326; Fri, 04 Apr 2014 11:49:17 -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.12.8 with SMTP id v8csp136452vcv; Fri, 4 Apr 2014 11:49:16 -0700 (PDT) X-Received: by 10.67.5.131 with SMTP id cm3mr16841809pad.92.1396637355855; Fri, 04 Apr 2014 11:49:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wh4si4929126pbc.305.2014.04.04.11.49.15; Fri, 04 Apr 2014 11:49:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754150AbaDDSqB (ORCPT + 27 others); Fri, 4 Apr 2014 14:46:01 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:39383 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754119AbaDDSpz (ORCPT ); Fri, 4 Apr 2014 14:45:55 -0400 Received: by mail-wg0-f41.google.com with SMTP id n12so3861195wgh.0 for ; Fri, 04 Apr 2014 11:45:53 -0700 (PDT) X-Received: by 10.194.88.230 with SMTP id bj6mr805894wjb.85.1396637153804; Fri, 04 Apr 2014 11:45:53 -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 cu6sm3899626wjb.8.2014.04.04.11.45.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 11:45:52 -0700 (PDT) From: Leif Lindholm To: linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Mark Salter , Leif Lindholm , Andrew Morton Subject: [PATCH v3 01/10] lib: add fdt_empty_tree.c Date: Fri, 4 Apr 2014 19:45:04 +0100 Message-Id: <1396637113-22790-2-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1396637113-22790-1-git-send-email-leif.lindholm@linaro.org> References: <1396637113-22790-1-git-send-email-leif.lindholm@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.177 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 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 Cc: Andrew Morton --- 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 02da5b6..5f5b6a2 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -149,7 +149,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"