summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-mx6
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2012-01-10 00:52:59 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-01-16 08:40:10 +0100
commitf2f7745825ee5f6bae5b480c8e9c6641a7ffa73b (patch)
treed17724b20a301e65ae45fc96049dc5b1dfc09fc6 /arch/arm/include/asm/arch-mx6
parent8db9eff6c51ad874d6dadfee70c23302c08bd9c4 (diff)
downloadtalos-obmc-uboot-f2f7745825ee5f6bae5b480c8e9c6641a7ffa73b.tar.gz
talos-obmc-uboot-f2f7745825ee5f6bae5b480c8e9c6641a7ffa73b.zip
imx: mx6q: add aipstz init for off platform periph
Init peripheral access control register of AIPSTZ OPACRx: Buffer Writes(BW): 0 -> not bufferable, Supervisor Protect(SP): 0 -> not require supervisor privilege level for accesses. Write Protect(WP): 0 -> allows write accesses. Trusted Protect(TP): 0 -> allows unstrusted master Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r--arch/arm/include/asm/arch-mx6/imx-regs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
index 8e452a86e9..5227b44fbf 100644
--- a/arch/arm/include/asm/arch-mx6/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
@@ -232,5 +232,16 @@ struct fuse_bank4_regs {
u32 rsvd3[0x13];
};
+struct aipstz_regs {
+ u32 mprot0;
+ u32 mprot1;
+ u32 rsvd[0xe];
+ u32 opacr0;
+ u32 opacr1;
+ u32 opacr2;
+ u32 opacr3;
+ u32 opacr4;
+};
+
#endif /* __ASSEMBLER__*/
#endif /* __ASM_ARCH_MX6_IMX_REGS_H__ */
OpenPOWER on IntegriCloud