Re: [U-Boot] [PATCH] arm: Add and select CONFIG_ARMV7

2015-12-09 Thread Tom Rini
On Tue, Dec 08, 2015 at 05:20:49PM +0100, Wolfgang Denk wrote: > Dear Marek, > > In message <201512081439.50797.ma...@denx.de> you wrote: > > > > Please ignore, after discussing this on IRC, we decided on doing > > s/CONFIG_ARMV7/CONFIG_CPU_V7/g instead. > > As IRC si (to the best or my knowled

Re: [U-Boot] [PATCH] arm: Add and select CONFIG_ARMV7

2015-12-08 Thread Wolfgang Denk
Dear Marek, In message <201512081439.50797.ma...@denx.de> you wrote: > > Please ignore, after discussing this on IRC, we decided on doing > s/CONFIG_ARMV7/CONFIG_CPU_V7/g instead. As IRC si (to the best or my knowledge?) not logged anywhere, I would like to hear the rationale for this decision.

Re: [U-Boot] [PATCH] arm: Add and select CONFIG_ARMV7

2015-12-08 Thread Marek Vasut
On Tuesday, December 08, 2015 at 02:21:06 PM, Marek Vasut wrote: > The arch/arm/lib/cache-cp15.c checks for CONFIG_ARMV7 and if this macro is > set, it configures TTBR0 register. This register must be configured for the > cache on ARMv7 to operate correctly. > > The problem is that noone actually

[U-Boot] [PATCH] arm: Add and select CONFIG_ARMV7

2015-12-08 Thread Marek Vasut
The arch/arm/lib/cache-cp15.c checks for CONFIG_ARMV7 and if this macro is set, it configures TTBR0 register. This register must be configured for the cache on ARMv7 to operate correctly. The problem is that noone actually sets the CONFIG_ARMV7 macro and thus the TTBR0 is not configured at all. On