Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp345165imu; Fri, 14 Dec 2018 21:24:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/W8lBPPqeYd3zT+x2ohpm4hkzTXDaB6nBqzVkhK9NTSIVW+rEC4E04BaQzpWEgoaRWb8k9C X-Received: by 2002:a62:3141:: with SMTP id x62mr5383974pfx.12.1544851457593; Fri, 14 Dec 2018 21:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544851457; cv=none; d=google.com; s=arc-20160816; b=VlQuwak5FK/ZotcnT17wvGi2+cYdgg9aJHXHEGWpa/ldLs0P2m/HC8tTSTyvjLGWSZ zf9obcRoLNXqOBj8lWKLc+zQ4X1Zs7VfPFoiGA9G+X2I3npt2KuOvjk07bjwUY/vaTXO D3f/GG2I/G57Wl7Kqvvx9YVgfoyxe3TEdeHC+cHhjgURtEw+BQ29xWVv796/3wvHyH4K LMgLy0Q4ID55MFFj9yRX3Z1iW8eVfkLXT7OiAl5IJFQbVAFrjcjXjd6OjCRt21NgcK4J DH5gy0+hA5KOaBWTUi37xtMgQssR4hV+YTPoqsSrD0eRsak2NBmq2u1JYjcSTPnarqLV sq5Q== 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=1NoMrt07YnmAoRot0iG3Ze4/SAslanmuFjK56MTzqwk=; b=X5Gcf8m9RP+JZU5GUWrgbfbIHK/RZwNKV9AQi7DzJLUgbJZ2q0WKHmL/24XczuPIdQ xxra9LxFdGJBfsSY2MxAKbkMfPX7PDs6kNEteE4XU2yltLltBuO5koD3x51P/HbcJFBd oQuuEhvWbUeLX3mNLVW45v5awrRL5eQFTtiUVTZ6pBbAQOmkyD/Wlu92rmV8e53JfH5h Y1YJ/imGxYvZLZNqueShqqDR+dYeXGnmfgITRYp7iXFw58zecUKotM5mQcIJ7obuGF+s /HH9LH+XQoCYVVD5fiuGafY7z1xsYH2tE5WMxuzFGEbjyXQQ75o/CuZwuVYq72rF4Og1 kdOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=HoNDns9D; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj2si5483098plb.27.2018.12.14.21.23.47; Fri, 14 Dec 2018 21:24:17 -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=@sifive.com header.s=google header.b=HoNDns9D; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729890AbeLOFW3 (ORCPT + 99 others); Sat, 15 Dec 2018 00:22:29 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39014 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729245AbeLOFW3 (ORCPT ); Sat, 15 Dec 2018 00:22:29 -0500 Received: by mail-pg1-f194.google.com with SMTP id w6so3623111pgl.6 for ; Fri, 14 Dec 2018 21:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1NoMrt07YnmAoRot0iG3Ze4/SAslanmuFjK56MTzqwk=; b=HoNDns9DTxGEqYkcTxzTtIyMuBzggaZGSJSR5BkGXe7L8u5mckollV3qSgK8mAD44b 4iDmcgS3i1ebZ9L3IS1IBG04Y6Q2HCO4taMkOHu7KdPoZPYZacy9qpDpQ+A7FKNlK/Xn NXc1xgKTjkGxGD3q4vRHuIHkVfqBN1DuSlJFAcehOzCk4syCh0sEwRQWebqS+Sby1gpl CkoN5g/4mPuxtfZyW17EGax2auDo/fBjvW9fAnZRMqKw9K2XwoE5bJ1h01D3GAnQ6SPd og9zZ52Yp+JOx0t5umozxSfrFEZJikwPYgNhu2Z/8eLf6CjAEA2wST13y91WUKIqScFV t1nw== 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=1NoMrt07YnmAoRot0iG3Ze4/SAslanmuFjK56MTzqwk=; b=RUAhX7wyo9BlpUXTjpBvgEuKFdZHm68yu8F+3lTyY7ZxJV+lIV50F+iQ2bmEVgb8l1 6mlhOMdW4zPX0ouyw8kI0E33z3L3NXcSoQK5XShVsxhbYMuji57rJKLWT4/1bO+tLsuX L1aTyHbV9svPBSG+1aPdei3Xgy6rmdWU9AovPJwQLcb0I5/jsOmoQ3dVFSOZRDryZREo vOg8a3W9pyn+2JIXtVdZD1ME8JWj6makzu7CveTFMWZn9iK0jIN5xiV5UMijTyxNOUdI WGWMS4fLURUQSCvwI6DT0U3Pfu1xxbhdbY52A6O9R56Qe2A1PHmVn4uy7NTvxS3WPADW LQfw== X-Gm-Message-State: AA+aEWaDhmCS7r3fd2pR/z4kxdIRa5vO+5YnWP8dU6SRFnyMnwOz/pm0 Tad1vcTRD84NQr2jcDzG9tUpBPdm+q0= X-Received: by 2002:a63:f811:: with SMTP id n17mr5244556pgh.23.1544851348131; Fri, 14 Dec 2018 21:22:28 -0800 (PST) Received: from viisi.sifive.com ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id z127sm11351282pfb.80.2018.12.14.21.22.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 21:22:27 -0800 (PST) From: Paul Walmsley To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Paul Walmsley Subject: [PATCH 1/7] arch: riscv: add support for building DTB files from DT source data Date: Fri, 14 Dec 2018 21:21:48 -0800 Message-Id: <20181215052154.24347-2-paul.walmsley@sifive.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181215052154.24347-1-paul.walmsley@sifive.com> References: <20181215052154.24347-1-paul.walmsley@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to what's implemented for ARM64, add support for building DTB files from DT source data for RISC-V boards. This patch starts with the infrastructure needed for SiFive boards. Cc: Palmer Dabbelt Cc: Albert Ou Signed-off-by: Paul Walmsley Signed-off-by: Paul Walmsley --- arch/riscv/Kconfig | 2 ++ arch/riscv/Kconfig.platforms | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 arch/riscv/Kconfig.platforms diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 55da93f4e818..dc9f1afa4ad9 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -121,6 +121,8 @@ config ARCH_RV64I endchoice +source "arch/riscv/Kconfig.platforms" + # We must be able to map all physical memory into the kernel, but the compiler # is still a bit more efficient when generating code if it's setup in a manner # such that it can only map 2GiB of memory. diff --git a/arch/riscv/Kconfig.platforms b/arch/riscv/Kconfig.platforms new file mode 100644 index 000000000000..bd3d2642bcff --- /dev/null +++ b/arch/riscv/Kconfig.platforms @@ -0,0 +1,8 @@ +menu "Platform selection" + +config ARCH_SIFIVE + bool "SiFive platforms" + help + This enables direct support for SiFive SoC platform hardware. + +endmenu -- 2.20.0