Re: [U-Boot] [PATCH 05/12] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-06-09 Thread Tom Rini
On Thu, Jun 08, 2017 at 09:00:17PM -0600, Simon Glass wrote: > Hi Tom. > > On 22 May 2017 at 19:15, Tom Rini wrote: > > On Mon, May 22, 2017 at 05:17:25AM -0600, Simon Glass wrote: > > > >> At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use > >> instructions which are invalid on

Re: [U-Boot] [PATCH 05/12] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-06-08 Thread Simon Glass
Hi Tom. On 22 May 2017 at 19:15, Tom Rini wrote: > On Mon, May 22, 2017 at 05:17:25AM -0600, Simon Glass wrote: > >> At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use >> instructions which are invalid on ARMv4T. This happens on Tegra since it >> has an ARMv4T boot CPU. Add a ch

Re: [U-Boot] [PATCH 05/12] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 05:17:25AM -0600, Simon Glass wrote: > At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use > instructions which are invalid on ARMv4T. This happens on Tegra since it > has an ARMv4T boot CPU. Add a check for the architecture version to allow > the code to b

[U-Boot] [PATCH 05/12] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-05-22 Thread Simon Glass
At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use instructions which are invalid on ARMv4T. This happens on Tegra since it has an ARMv4T boot CPU. Add a check for the architecture version to allow the code to be built. It will not actually be executed by the boot CPU, but needs t