u-boot-brain/arch/arm/include
Alison Wang 53fd4b8c22 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>
2015-10-16 07:55:51 +02:00
..
asm arm: mmu: Add missing volatile for reading SCTLR register 2015-10-16 07:55:51 +02:00
debug arm: debug: replace license blocks with SPDX 2014-10-26 22:22:09 +01:00