From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: [ptxdist] [PATCH 1/2] architecture: add riscv support
Date: Mon, 23 Jul 2018 10:33:43 +0200 [thread overview]
Message-ID: <20180723083343.8583-1-r.czerwinski@pengutronix.de> (raw)
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
next reply other threads:[~2018-07-23 8:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-23 8:33 Rouven Czerwinski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180723083343.8583-1-r.czerwinski@pengutronix.de \
--to=r.czerwinski@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox