summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMandy Lavi <mandy.lavi@freescale.com>2015-04-15 12:58:33 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-04-21 05:12:54 (GMT)
commit5d416e1f6cd73adbc857936e82c4fca409e82e39 (patch)
tree9a485581a0aed0f90ffb1bb90bf6fc470791aaed /arch
parent24f775724bac8b5cffba1e6bec7059a85f44000d (diff)
downloadlinux-fsl-qoriq-5d416e1f6cd73adbc857936e82c4fca409e82e39.tar.xz
Expose RCW in the ccsr_guts structure
This will enable the reading of essential h/w configuration setup from within the kernel space Change-Id: I8d5ffbf48b02b5ef6ad6bf546f3440485ccd9778 Reviewed-on: http://git.am.freescale.net:8181/35025 Reviewed-by: Igal Liberman <Igal.Liberman@freescale.com> Reviewed-by: Yangbo Lu <yangbo.lu@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/fsl_guts.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/fsl_guts.h b/arch/powerpc/include/asm/fsl_guts.h
index 1b5055d..77b5bd8 100644
--- a/arch/powerpc/include/asm/fsl_guts.h
+++ b/arch/powerpc/include/asm/fsl_guts.h
@@ -68,7 +68,10 @@ struct ccsr_guts {
u8 res0b4[0xc0 - 0xb4];
__be32 iovselsr; /* 0x.00c0 - I/O voltage select status register
Called 'elbcvselcr' on 86xx SOCs */
- u8 res0c4[0x224 - 0xc4];
+ u8 res0c4[0x100 - 0xc4];
+ __be32 rcwsr[16]; /* 0x.0100 - Reset Control Word Status registers
+ There are 16 registers */
+ u8 res140[0x224 - 0x140];
__be32 iodelay1; /* 0x.0224 - IO delay control register 1 */
__be32 iodelay2; /* 0x.0228 - IO delay control register 2 */
u8 res22c[0x604 - 0x22c];