From patchwork Thu Sep 12 06:01:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 173656 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1695478ilq; Wed, 11 Sep 2019 22:59:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx6hKafNsKGof/4QoJZGbVRpD9lTnUNO49Upd4k+8udnWp3NkLCyasrGIg80NMl7o/yNkP X-Received: by 2002:a17:906:134e:: with SMTP id x14mr32982509ejb.280.1568267986842; Wed, 11 Sep 2019 22:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568267986; cv=none; d=google.com; s=arc-20160816; b=mLXa9JJLqWmI8HQDzDmmGF5MRwTfCI4YDNZDqHknWJx1M2Afn6EIPeB6KjCadTXxSk +EPbC4U9fheJsbROEYgixOEGVhD08KVSgo96iSB0YjfaB6dIhAjVkee7C0R9oKuUX3kH ufMt2hzfncz6V4O1Mt0HVSp23Amq3U02aV2NafsMhJrHQlPsr9GJWRIaO56ODKCAKF8p Dc9SGsq439nZKb0QE3I62VO1R3vWhUOYRgRh04swbgzEOGCcLFLJbtGomMKSB6JspB+Y kQIA1z1WzCEl7sFMSVDrsaw6elfWgN2BaTHYnBqMxRfQpuwagNEqUpX616yoeJ22n6o5 C8eA== 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=9duNwvJ16wl6i9JK0JxmwLCbqMy/YOSDsatt/Ugxhh0=; b=r2n5rj372zkWLWaHvuUNnBVMCP8gbdwSpv3kQGMthfJvFn1dSpVIfb1/NYqqA1r9XY KYTC1eEeinn5cNGHcf1m73DcWD5ZFYCduByc47Cdjz9324yEZJ6iedO9nbgpcRSAPMVL 5/MVWX4SwFVQdvCEARkSAdmAdoytyCZanxWx7eos8JXrBzVPGuK2wEVY6lIvVOQFl6FE HcX9v0dgOdmvNiCTFdM7wmgnzOHnS+bKOVoI3mbeO+wIeVwmB1n+1l8/erPrHmvC5iM/ Gg778iB3bMsrIvkGqjdIxm55RgSuHn1o8HRYOGeVM5zI07ZqMk9VthVNCE7cHtnU9con tLRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FRbBT6xd; 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 d4si5858231ejk.327.2019.09.11.22.59.46; Wed, 11 Sep 2019 22:59:46 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FRbBT6xd; 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 S1729147AbfILF7p (ORCPT + 27 others); Thu, 12 Sep 2019 01:59:45 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:46884 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfILF7o (ORCPT ); Thu, 12 Sep 2019 01:59:44 -0400 Received: by mail-pf1-f195.google.com with SMTP id q5so15230147pfg.13 for ; Wed, 11 Sep 2019 22:59:43 -0700 (PDT) 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=9duNwvJ16wl6i9JK0JxmwLCbqMy/YOSDsatt/Ugxhh0=; b=FRbBT6xdaywYm1Eq4QN4D3bijixSYoPo3VEn4SC9G8XRTVtx2IkVj9TcOA0JSqYwGl TZhqsDfWYc/B6ydJEVo85YRRqO0oBLCkTVGABfLCd3Yw0QbYOivmnkXkchJlRi5w05QU cf7Mr1+lci9lrE1CT9JzMyKmO2hXvEAZt1d9KCFMO1vEiq7HQs8wF8P1cWcwyLkFkizJ kcvzVym1tbRJ2YW7GPmoOmaaomsJZDqyMOere0qiKofATuSvBD2jm092/SbxUyDChRrl p7niPQNlxz8L7+QJv/3dbYqXZSh1Rb6TpIuA6UdXL2JcyE4kjkMZ8RLIJAG85VMQm1tC 6NlQ== 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=9duNwvJ16wl6i9JK0JxmwLCbqMy/YOSDsatt/Ugxhh0=; b=FOP6XYVR06Je1+kIvdxBttZXFPLQzaP61UlQ/sx71boNJIbX+E/24G3sBxXlkidUot 2S3nu5A+hDu/+d7b3uPeOtdCgutnfIw4WJP1vL/czgeNkPYEKU6McQQ1Zrj6PBRI7M/C a/AKAUEgwf7FgOBNwKbx6ZwIrmCycm6QJRLEnst0dp+Y3ZqB/lzdEwKAn5VzLQFZle+r oOCnax6lX+5vW8XurFoWL2nZfipIfdsD4YZHLRVlWv2AkWs2tVNFSFyr9TNs7augHrfh npNqyu/3zSUlBTWSFGVjIugTzESZICtN3uuqJevrwb5QHhouftpXe1cELk/fhVHqzhHc 7WhQ== X-Gm-Message-State: APjAAAWtV/GGwvn9oTW6UgFBQtK+V9Nqc7WXDlq++YMh6yUA1ktbfK9K dqb6uaZY6nPZL7GqgE2nZCT7KA== X-Received: by 2002:a62:e10a:: with SMTP id q10mr47211817pfh.236.1568267982763; Wed, 11 Sep 2019 22:59:42 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id z12sm4461135pjp.11.2019.09.11.22.59.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Sep 2019 22:59:42 -0700 (PDT) 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 2/3] libfdt: include fdt_addresses.c Date: Thu, 12 Sep 2019 15:01:49 +0900 Message-Id: <20190912060150.10818-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190912060150.10818-1-takahiro.akashi@linaro.org> References: <20190912060150.10818-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.21.0 diff --git a/lib/Makefile b/lib/Makefile index 29c02a924973..59f082727503 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -224,7 +224,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"