Home
last modified time | relevance | path

Searched hist:"53 fd4b8c22bbdf4598f87e701e9a6c6ee50172ff" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/include/asm/
H A Dsystem.h53fd4b8c22bbdf4598f87e701e9a6c6ee50172ff Wed Sep 09 02:22:02 UTC 2015 Alison Wang <b18965@freescale.com> arm: mmu: Add missing volatile for reading SCTLR register

Add 'volatile' qualifier to the asm statement in get_cr()
so that the statement is not optimized out by the compiler.

(http://comments.gmane.org/gmane.linux.linaro.toolchain/5163)

Without the 'volatile', get_cr() returns a wrong value which
prevents enabling the MMU and later causes a PCIE VA access
failure.

Signed-off-by: Alison Wang <alison.wang@freescale.com>