On 4/25/2018 6:46 PM, Tom Rini wrote: > On Wed, Apr 25, 2018 at 02:44:39PM +0530, Lokesh Vutla wrote: > >> Cache maintenance procedure is same for v7A and v7R >> processors. So re-use cache-cp15.c file except for >> mmu parts. > [snip] >> diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c >> index b09c631636..051f2789be 100644 >> --- a/arch/arm/lib/cache-cp15.c >> +++ b/arch/arm/lib/cache-cp15.c >> @@ -9,11 +9,15 @@ >> #include <asm/system.h> >> #include <asm/cache.h> >> #include <linux/compiler.h> >> +#ifdef CONFIG_SYS_ARM_MPU >> +#include <asm/armv7m_mpu.h> >> +#endif > > Do we need to guard this include? >
Hmm..I guess it can be avoided. Will drop this and resend. Thanks and regards, Lokesh _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

