From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 8 Dec 2015 14:39:50 +0100 Subject: [U-Boot] [PATCH] arm: Add and select CONFIG_ARMV7 In-Reply-To: <1449580866-6006-1-git-send-email-marex@denx.de> References: <1449580866-6006-1-git-send-email-marex@denx.de> Message-ID: <201512081439.50797.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 sets the CONFIG_ARMV7 macro and thus the > TTBR0 is not configured at all. On SoCFPGA, this produces all sorts of > minor issues which are hard to replicate, for example certain USB sticks > are not detected or QSPI NOR sometimes fails to write pages completely. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Simon Glass Please ignore, after discussing this on IRC, we decided on doing s/CONFIG_ARMV7/CONFIG_CPU_V7/g instead. Best regards, Marek Vasut