From: Sascha Hauer <s.hauer@pengutronix.de>
To: Franck Jullien <franck.jullien@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/3] openrisc: update SPR registers definition
Date: Thu, 22 May 2014 08:07:33 +0200 [thread overview]
Message-ID: <20140522060733.GP5858@pengutronix.de> (raw)
In-Reply-To: <1400707949-16521-1-git-send-email-franck.jullien@gmail.com>
On Wed, May 21, 2014 at 11:32:27PM +0200, Franck Jullien wrote:
> The OpenRISC architecture specification v1.0 defines
> new SPR registers. This patch adds registers definition
> for group 0 and update bit definitions for the CPU
> configuration register.
>
> Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Applied, thanks
Sascha
> ---
> arch/openrisc/include/asm/spr-defs.h | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/arch/openrisc/include/asm/spr-defs.h b/arch/openrisc/include/asm/spr-defs.h
> index cb0cdfa..b3b08db 100644
> --- a/arch/openrisc/include/asm/spr-defs.h
> +++ b/arch/openrisc/include/asm/spr-defs.h
> @@ -49,6 +49,11 @@
> #define SPR_ICCFGR (SPRGROUP_SYS + 6)
> #define SPR_DCFGR (SPRGROUP_SYS + 7)
> #define SPR_PCCFGR (SPRGROUP_SYS + 8)
> +#define SPR_VR2 (SPRGROUP_SYS + 9)
> +#define SPR_AVR (SPRGROUP_SYS + 10)
> +#define SPR_EVBAR (SPRGROUP_SYS + 11)
> +#define SPR_AECR (SPRGROUP_SYS + 12)
> +#define SPR_AESR (SPRGROUP_SYS + 13)
> #define SPR_NPC (SPRGROUP_SYS + 16)
> #define SPR_SR (SPRGROUP_SYS + 17)
> #define SPR_PPC (SPRGROUP_SYS + 18)
> @@ -164,7 +169,13 @@
> #define SPR_CPUCFGR_OF32S 0x00000080 /* ORFPX32 supported */
> #define SPR_CPUCFGR_OF64S 0x00000100 /* ORFPX64 supported */
> #define SPR_CPUCFGR_OV64S 0x00000200 /* ORVDX64 supported */
> -#define SPR_CPUCFGR_RES 0xfffffc00 /* Reserved */
> +#define SPR_CPUCFGR_ND 0x00000400 /* No delay slot */
> +#define SPR_CPUCFGR_AVRP 0x00000800 /* Arch. Version Register present */
> +#define SPR_CPUCFGR_EVBARP 0x00001000 /* Exception Vector Base Address Register (EVBAR) present */
> +#define SPR_CPUCFGR_ISRP 0x00002000 /* Implementation-Specific Registers (ISR0-7) present */
> +#define SPR_CPUCFGR_AECSRP 0x00004000 /* Arithmetic Exception Control Register (AECR) and */
> + /* Arithmetic Exception Status Register (AESR) presents */
> +#define SPR_CPUCFGR_RES 0xffffc000 /* Reserved */
>
> /*
> * Bit definitions for the Debug configuration register and other
> --
> 1.7.1
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2014-05-22 6:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 21:32 Franck Jullien
2014-05-21 21:32 ` [PATCH 2/3] openrisc: fix relocation code Franck Jullien
2014-05-21 21:32 ` [PATCH 3/3] openrisc: update cpuinfo Franck Jullien
2014-05-22 6:07 ` Sascha Hauer [this message]
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=20140522060733.GP5858@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=franck.jullien@gmail.com \
/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