[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181215052154.24347-2-paul.walmsley@sifive.com>
Date: Fri, 14 Dec 2018 21:21:48 -0800
From: Paul Walmsley <paul.walmsley@...ive.com>
To: linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Cc: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
Paul Walmsley <paul@...an.com>
Subject: [PATCH 1/7] arch: riscv: add support for building DTB files from DT source data
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 <palmer@...ive.com>
Cc: Albert Ou <aou@...s.berkeley.edu>
Signed-off-by: Paul Walmsley <paul.walmsley@...ive.com>
Signed-off-by: Paul Walmsley <paul@...an.com>
---
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
Powered by blists - more mailing lists