From patchwork Mon Dec 9 03:03:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 180979 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3801025ile; Sun, 8 Dec 2019 19:02:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwY+hH0gAmy1LXWn9Mao0Y9PQMg9inRywt5NmSJBZ01vTyIRVwVaebP1XpkOHnsKFeFJXi9 X-Received: by 2002:a05:6830:1e81:: with SMTP id n1mr19220827otr.53.1575860544433; Sun, 08 Dec 2019 19:02:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575860544; cv=none; d=google.com; s=arc-20160816; b=wX+wr2yj1cH1AO3opxKPLbpLrGX7cyrlz+fNRE7VqPKE5Rm2PAO0hLNOHba7yQen59 U+MFSEtFDTEkOlCn+9If8kADltbIEl4rAliYuudErheM5lK/BD6VcbaohINqaTVKIEsT ILYWBJiUkbAz10tgDm130NaxwV6b7RSCml2SZeTfsV2/puBQnpuIyDrcuzeLh61YQUdj UhpA+dLRk/jTrpMrSDmSQUVJ2chlkwtWX5tJhCIaCYrGk26cB2dKqcn1GJKkOZ6T440l 9lt3ld0DuH7CPSDq7wD5LYdw6o37Lhfls/YtnoA1dZpvaAAeNZa7/flW3I9+h8FoiuA8 2DYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3FqOO3wE0tn2QZf6UyRIRojyX4xpI+NMDGsdK9w/Ap4=; b=U2m1yIUhcOFGHhgzoJ8fMStPwAUSCDbq8/u9SrXWEjw6Ilp5y8tPJsExkVIvcEWEeS rTxyeiUHU1vdMG0yCahK44LikDKAS5Mq5U+ZV9lG6qYy7HnMTQAPcMtFBb4CtBFhW8C5 1KEAojNxYsKxsiNrt4e9P/PqAoYLiioUgHTmUoHr98uO6GdxMruWJLcnQNWXp4VRRz5+ ZmvNOQIk9jor8SvvmvAT++YmvU3JNwES5LDh9nOUQVo/w8cGKh2X3RxLktQhZzEsQaJK WcSYywMjBJl7Rqkb9o90a/Pec0SiubZKWI73hxb8MUiH0vKLf/J5xBcyFWjgTYO+Jh1S P6Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mhExn69W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si12065709otp.289.2019.12.08.19.02.24; Sun, 08 Dec 2019 19:02:24 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mhExn69W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbfLIDCV (ORCPT + 27 others); Sun, 8 Dec 2019 22:02:21 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:42292 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726669AbfLIDCU (ORCPT ); Sun, 8 Dec 2019 22:02:20 -0500 Received: by mail-pg1-f196.google.com with SMTP id i5so6353981pgj.9 for ; Sun, 08 Dec 2019 19:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3FqOO3wE0tn2QZf6UyRIRojyX4xpI+NMDGsdK9w/Ap4=; b=mhExn69WBmHBESFt1kIaGlKEdtVe/i5Vgkp7eu8YMclVAMDegJkLMfclMCIgtyazfI b6bESJ1o1e6qyzDAXET8Nn9VmdMgWHdUzAhh6nUcy+zOUzMfvA6EErA24TTqdUxwGgVL ONw9363URg5l+xWM8acqZx8CyPwgxgwTA+wS252KtfXfoDyHZxb/KJk4T18mOkPNWlZA XjryhXj+d6UMVWcf1c4vWY4qxD/qSdC13hqxRQ4j0xdJtOvrMiBvQy0kiwOVMxNCEZ7+ 41KAvVcarkRe9lB14/lFzwhV73IBZAcR1OMqcmqm3mud/RyBsmEM92xv9xQmR1eMkLJa OcxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3FqOO3wE0tn2QZf6UyRIRojyX4xpI+NMDGsdK9w/Ap4=; b=k2FxHzD/K+P+wfdLiBDTyXekzTy6rsZ6rMKAPbLUali8DIR8j89WNuX8IYTGKIi0EN CSrSi/kAQPCQxPQ2eV9akEOnIKDbjdQDsHrza06CquuWKvnPMbAveQ0QQkrNHpqezwB2 H2Ah8/2K/CvYNeGNbAnLpIoaczhVk1DpKii86M/TnHJgARilL1hiWfSPVd7ZzT3QiV7y uvZmRimN0iGzIH+vvv6VLlkE7j2gDNVFCsFxa9N1Gg3gRGj3NciLUCd9eNGvN/Rnjr0Q yFnXpBwTW2AbJZgdXsq5Jp9a1D98zDlgcgpxqvWMrC1DjBz6LtPv/c0izNk8iXR6YFZV xaoQ== X-Gm-Message-State: APjAAAUg7EV8YD0FX9zsIpIxkhC9R9dT5+7SQsQaGPRThDi2JxTRPvGz 97kFLW/38Kk6hUs7xM1C2q0DjA== X-Received: by 2002:a63:dc41:: with SMTP id f1mr16838812pgj.119.1575860539860; Sun, 08 Dec 2019 19:02:19 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id y76sm15454209pfc.87.2019.12.08.19.02.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Dec 2019 19:02:19 -0800 (PST) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, robh+dt@kernel.org, frowand.list@gmail.com Cc: james.morse@arm.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v3 1/2] libfdt: include fdt_addresses.c Date: Mon, 9 Dec 2019 12:03:44 +0900 Message-Id: <20191209030345.5735-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191209030345.5735-1-takahiro.akashi@linaro.org> References: <20191209030345.5735-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the implementation of kexec_file_loaded-based kdump for arm64, fdt_appendprop_addrrange() will be needed. So include fdt_addresses.c in making libfdt. Signed-off-by: AKASHI Takahiro Cc: Rob Herring Cc: Frank Rowand --- lib/Makefile | 2 +- lib/fdt_addresses.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 lib/fdt_addresses.c -- 2.24.0 diff --git a/lib/Makefile b/lib/Makefile index 93217d44237f..c20b1debe9b4 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -223,7 +223,7 @@ KASAN_SANITIZE_stackdepot.o := n KCOV_INSTRUMENT_stackdepot.o := n libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \ - fdt_empty_tree.o + fdt_empty_tree.o fdt_addresses.o $(foreach file, $(libfdt_files), \ $(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt)) lib-$(CONFIG_LIBFDT) += $(libfdt_files) diff --git a/lib/fdt_addresses.c b/lib/fdt_addresses.c new file mode 100644 index 000000000000..23610bcf390b --- /dev/null +++ b/lib/fdt_addresses.c @@ -0,0 +1,2 @@ +#include +#include "../scripts/dtc/libfdt/fdt_addresses.c"