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: 3940301 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 45A06BFF02 for ; Fri, 4 Apr 2014 18:54:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6DA1920351 for ; Fri, 4 Apr 2014 18:54:07 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7FBD52035D for ; Fri, 4 Apr 2014 18:54:06 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WW9FZ-0000uz-5w; Fri, 04 Apr 2014 18:54:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WW9FW-0004id-ML; Fri, 04 Apr 2014 18:53:58 +0000 Received: from mail-we0-f176.google.com ([74.125.82.176]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WW9FT-0004ha-E2 for linux-arm-kernel@lists.infradead.org; Fri, 04 Apr 2014 18:53:56 +0000 Received: by mail-we0-f176.google.com with SMTP id x48so3913168wes.35 for ; Fri, 04 Apr 2014 11:53:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Yozm4vg7AuvH2VKqR0x7qf6o4MHUxUvZg/9jvTfXMSw=; b=cUOzxzmELYaV3V+IcKlIjN2+A/K5rquB67taqgU3nHUncM9ucAt6SmoR+aBuuBFLS9 SkaWOP0JwO6H9NT1TWdprLgBF/29qx5yTaxhfSczWUKOqGJ4LZp+edZHFH+U3gUZwEWi 0PQBHgD2c2Qro89najadfj/Qy3TyVYoICuqiGNL8H1MDEJb2Vl/pg9IZEtyk+f0xf6Oa b+LHZyvPoeV8ycaTYYMlESjeJGeVy1ES8OlzltdH7p7t+OAKmOot6I8y4KWfgKVXlqSA g2gtkQ5Pkv5JLWvlXbHgqT1pHjwUI0lx2WAY/VV6oTDXTO4eK9L9Pp3kQBkKvoj6OLT/ I9Jg== X-Gm-Message-State: ALoCoQka8PZYReWA8zW3GpHs3Lroa7ubZ3kAB1XgRHvfVoJzjozZTuEbnkQmRclg00IZAYy3U5s9 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140404_145355_581006_66E7396A X-CRM114-Status: GOOD ( 10.84 ) X-Spam-Score: -2.6 (--) Cc: Andrew Morton , linux-kernel@vger.kernel.org, Leif Lindholm , Mark Salter 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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"