Re: [U-Boot] [PATCH] arm: mmu: Add missing volatile for reading SCTLR register

2015-10-15 Thread Albert ARIBAUD
Hello Alison, Sorry for the late comment. On Wed, 9 Sep 2015 10:22:02 +0800, Alison Wang 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 >

Re: [U-Boot] [PATCH] arm: mmu: Add missing volatile for reading SCTLR register

2015-10-15 Thread Albert ARIBAUD
Hello Alison, On Wed, 9 Sep 2015 10:22:02 +0800, Alison Wang 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 >

Re: [U-Boot] [PATCH] arm: mmu: Add missing volatile for reading SCTLR register

2015-10-15 Thread Huan Wang
Hello Albert, > On Wed, 9 Sep 2015 10:22:02 +0800, Alison Wang > 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 > >

[U-Boot] [PATCH] arm: mmu: Add missing volatile for reading SCTLR register

2015-09-08 Thread Alison Wang
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