mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] architecture: add riscv support
@ 2018-07-23  8:33 Rouven Czerwinski
  2018-07-23  8:33 ` [ptxdist] [PATCH 2/2] platforms/kernel: add riscv Rouven Czerwinski
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Rouven Czerwinski @ 2018-07-23  8:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 platforms/architecture.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/platforms/architecture.in b/platforms/architecture.in
index f91fedb08..207957a27 100644
--- a/platforms/architecture.in
+++ b/platforms/architecture.in
@@ -125,6 +125,14 @@ choice
 		select ARCH_SUPPORTS_ENDIAN_BIG
 		help
 		  This is support for the SuperH architecture.
+
+	config ARCH_RISCV
+		bool "riscv      "
+		select HAS_MMU
+		select ARCH_SUPPORTS_ENDIAN_LITTLE
+		help
+		  This is support for the RISC-V architecture.
+
 endchoice
 
 #
@@ -264,6 +272,7 @@ config HAS_HARDFLOAT
 	default y if ARCH_X86
 	default y if ARCH_SPARC
 	default y if ARCH_ARM64
+	default y if ARCH_RISCV
 	default n
 
 #
@@ -304,3 +313,4 @@ config ARCH_STRING
 	default "cris"			if ARCH_CRIS
 	default "parisc"		if ARCH_PARISC
 	default "sh"			if ARCH_SH
+	default "riscv"			if ARCH_RISCV
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-07-30  5:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23  8:33 [ptxdist] [PATCH 1/2] architecture: add riscv support Rouven Czerwinski
2018-07-23  8:33 ` [ptxdist] [PATCH 2/2] platforms/kernel: add riscv Rouven Czerwinski
2018-07-23 12:13 ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Rouven Czerwinski
2018-07-23 12:13   ` [ptxdist] [PATCH v2 2/2] platforms/kernel: add riscv Rouven Czerwinski
2018-07-25 12:56   ` [ptxdist] [PATCH v2 1/2] architecture: add riscv support Michael Olbrich
2018-07-30  5:45 ` [ptxdist] [PATCH v3 0/2] Add RISC-V support to PTXDIST Rouven Czerwinski
2018-07-30  5:45 ` [ptxdist] [PATCH v3 1/2] architecture: add riscv support Rouven Czerwinski
2018-07-30  5:45 ` [ptxdist] [PATCH v3 2/2] platforms/kernel: add riscv Rouven Czerwinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox