From patchwork Mon Dec 16 02:12:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 181633 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3761336ile; Sun, 15 Dec 2019 18:11:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzvw1+rB3g1bo2A6DxOW2ubUtXBwb7DDVkUF/ymr97i1RHsa/OU6K73Xo7fFNSNs5QUEfTN X-Received: by 2002:a05:6830:1d6:: with SMTP id r22mr29882061ota.196.1576462265325; Sun, 15 Dec 2019 18:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576462265; cv=none; d=google.com; s=arc-20160816; b=NKT3PandtURhS0ER3jhPa92zkyufXJm/pZ0wC7t4IlbhX9pB/+kvDdImbSgiWgurv1 KI8RR+3yiQyXXFoyWcptXP/eEeD5ePNFf0PK5eNnrUTm/cao4+AXKaHLfJooTC1i7uLD zckuss6KYFfZzkgP3Ay6TG7XYZD3Gq+NVJOO2nEjVn0VS/lJFihnWhtugJWyUORDQwB/ ph7XmjycXjEb/6CLgIkexyfh2IDgnqS5GE3TQ4Wt1J/OXNw8tPVD/Yl+1s+M0C02zE1c SHTKUVw2SGKAmPiJ7cXYW7rj3wEgepHAOb02WVWRgd+8hElFzGPzRKLuTa4HNFdeHv6+ Ri1Q== 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=sM77l0BXccPvHIBLqKhUfWe1OT8Ins1PcT4Z3ytd6uANvnlXsZWIOdqIOp6tSN+cbB 6xw4k60MHhf33T4+RG75MvCr5lsJZA7C++FXOPkoq7HtRXtwjpgQB+2b2l+hMQ+CplSH YuwOCSnxET5aK4GkmsdvkVc9/8p+LWgUtGsHhxAK9/CNdmb5G5aS6n+fEqMCd7WVHgTM 7hKACdoWWaNuejmNRoAJ6J5diSuwSzX7yPIjTRqjg5yJKLx53Chy+a6vy8YJHlY9bVU2 0sMLX60vsD/pzX4sT5tq2vQOBfLioLycD+Fnap4dC6GSM7GPEd3O6dysxFhFJJoeLSA5 d1sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wGyoF6jR; 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 x7si9777706oia.165.2019.12.15.18.11.05; Sun, 15 Dec 2019 18:11:05 -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=wGyoF6jR; 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 S1726637AbfLPCK7 (ORCPT + 27 others); Sun, 15 Dec 2019 21:10:59 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:33877 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbfLPCK6 (ORCPT ); Sun, 15 Dec 2019 21:10:58 -0500 Received: by mail-pj1-f67.google.com with SMTP id j11so2282472pjs.1 for ; Sun, 15 Dec 2019 18:10:58 -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=wGyoF6jRoSwSqw+ChtmsGgyLywamuwnCySkdQERJLwj6c5L5qb0fdxqrFu931tlm6N 8yVFrAfggJMKfdNHQsaLv8RR/v0oqSdDn7G6b4zu0f7F3ZHMCgOEBRNBDYfo1EvnNJ5S tbUvpunr92twBkFUM63SSt+pRBt8o1HUUaol7gl/QKAx+uOE6avNdSaIfuNvf9TRBeoE tMHoF2u8UktPVgVuCRHiXaV3jEFrAx2XCB8Jo8yDsILDJJu7T+Tt7Ld/7/1ZkOXISopf B89pLzreYs2xQKOOj0VmCUR6VPJ8g43mhhEKBO+tHUgicS+W5JXVB8Op5XgmE3iPFIJ9 l/QA== 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=ZZ1eT9YvVtFp0H38b+bcAVuifbdsmuMXIdh6ZRmOgZLV/XXIdisa0Pbs75sK1l96cM vRfXLpI0+w7pELiPeRfGsfqiumQfZWWwbHBmRVlHvUEiowlmvLgJP29YQrGkrFxcRA28 xQGJl6EUFp/2r5EW6QZ0opFyRkCuDfiIig5Bf9OkXTdSMwjBSNt7juCZYDc/6pe8d0A4 +i96GKAB3F9ttzPgLUmV/JTSF6cvEk3qbp3fNh+QUQ3j2DXf5FbvBlnL4ApgPPFsFiSc 1XFKPUoSc3vZFHGkY3C/MaETSz71+TllibVWOO6F40ALOMP82tBvA3zLUMrgJqv1xD9j w4yw== X-Gm-Message-State: APjAAAWEsFbUkE1hCKGA6zOK1M1QdgVHoj3G5MlHMW72e9X0ny5PTZP2 6sWyOK5mOdXhIivdIjZflS+5+w== X-Received: by 2002:a17:90a:fa92:: with SMTP id cu18mr15301981pjb.114.1576462257870; Sun, 15 Dec 2019 18:10:57 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id p5sm18997185pgs.28.2019.12.15.18.10.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Dec 2019 18:10:57 -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, bhsharma@redhat.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v4 1/2] libfdt: include fdt_addresses.c Date: Mon, 16 Dec 2019 11:12:46 +0900 Message-Id: <20191216021247.24950-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191216021247.24950-1-takahiro.akashi@linaro.org> References: <20191216021247.24950-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"