imx: mx6q: add aipstz init for off platform periph
authorJason Liu <jason.hui@linaro.org>
Tue, 10 Jan 2012 00:52:59 +0000 (00:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Jan 2012 07:40:10 +0000 (08:40 +0100)
commitf2f7745825ee5f6bae5b480c8e9c6641a7ffa73b
treed17724b20a301e65ae45fc96049dc5b1dfc09fc6
parent8db9eff6c51ad874d6dadfee70c23302c08bd9c4
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>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h