diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2018-04-26 18:21:26 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 15:53:24 -0400 |
commit | acf1500138bb6b0496fe09d6bffdf8eac3d6ecab (patch) | |
tree | c580714ef4651297c2236177a3fb529e25b2c9c9 /arch/arm/lib | |
parent | 2a5180535cb7c66ed3ca98d01db82df7c936b469 (diff) |
arm: v7: Kconfig: Rename CPU_V7 as CPU_V7A
Currently CPU_V7 kconfig symbol supports only ARMv7A architectures under
armv7 folder. This led to a misconception of creating separate folders
for armv7m and armv7r. There is no reason to create separate folder for
other armv7 based architectures when it can co-exist with few Kconfig
symbols.
As a first step towards a common folder, rename CPU_V7 as CPUV7A. Later
separate Kconfig symbols can be added for CPU_V7R and CPU_V7M and
can co exist in the same folder.
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Suggested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/cache-cp15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c index c80a95764f..febb253f83 100644 --- a/arch/arm/lib/cache-cp15.c +++ b/arch/arm/lib/cache-cp15.c @@ -160,7 +160,7 @@ static inline void mmu_setup(void) asm volatile("mcr p15, 0, %0, c10, c2, 0" : : "r" (MEMORY_ATTRIBUTES) : "memory"); } -#elif defined(CONFIG_CPU_V7) +#elif defined(CONFIG_CPU_V7A) if (is_hyp()) { /* Set HTCR to disable LPAE */ asm volatile("mcr p15, 4, %0, c2, c0, 2" |