mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 1/2] architecture: add riscv support
Date: Wed, 25 Jul 2018 14:56:15 +0200	[thread overview]
Message-ID: <20180725125615.saua4for2ayoka2q@pengutronix.de> (raw)
In-Reply-To: <20180723121336.27834-1-r.czerwinski@pengutronix.de>

On Mon, Jul 23, 2018 at 02:13:35PM +0200, Rouven Czerwinski wrote:
> 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_LP64

This is for 64-bit RISCV, right?

Michael

> +		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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-07-25 12:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23  8:33 [ptxdist] [PATCH " 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   ` Michael Olbrich [this message]
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=20180725125615.saua4for2ayoka2q@pengutronix.de \
    --to=m.olbrich@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