[U-Boot] [PATCH] arm: mmu: Add missing volatile for reading SCTLR register
Albert ARIBAUD
albert.u.boot at aribaud.net
Fri Oct 16 07:59:06 CEST 2015
Hello Alison,
On Wed, 9 Sep 2015 10:22:02 +0800, Alison Wang <b18965 at freescale.com>
wrote:
> When building u-boot with the latest Linaro toolchain, such as
> gcc-linaro-4.9, u-boot will hang at PCIE init on LS1021A platform.
> The issue is reported on
> http://comments.gmane.org/gmane.linux.linaro.toolchain/5163.
>
> As volatile is missing when reading SCTLR register and SCTLR is set
> according to the value read from SCTLR, it causes CR_M bit is not set.
> Then MMU is not enabled, the access to VA for PCIE fails.
>
> This patch will add the missing volatile for reading SCTLR register.
>
> Signed-off-by: Alison Wang <alison.wang at freescale.com>
Applied (with the commit message rewritten as discussed), thanks!
Amicalement,
--
Albert.
More information about the U-Boot
mailing list