Commit 8ba605b6 authored by Vineet Gupta's avatar Vineet Gupta

ARC: [plat-*] ARC_HAS_COH_CACHES no longer relevant

A typical SMP system expects cache coherency. Initial NPS platform
support was slated to be SMP w/o cache coherency.

However it seems the platform now selects that option, so there is no
point in keeping it around.
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent b48fba05
...@@ -180,16 +180,12 @@ config CPU_BIG_ENDIAN ...@@ -180,16 +180,12 @@ config CPU_BIG_ENDIAN
config SMP config SMP
bool "Symmetric Multi-Processing" bool "Symmetric Multi-Processing"
default n default n
select ARC_HAS_COH_CACHES if ISA_ARCV2
select ARC_MCIP if ISA_ARCV2 select ARC_MCIP if ISA_ARCV2
help help
This enables support for systems with more than one CPU. This enables support for systems with more than one CPU.
if SMP if SMP
config ARC_HAS_COH_CACHES
def_bool n
config NR_CPUS config NR_CPUS
int "Maximum number of CPUs (2-4096)" int "Maximum number of CPUs (2-4096)"
range 2 4096 range 2 4096
...@@ -219,8 +215,6 @@ config ARC_MCIP ...@@ -219,8 +215,6 @@ config ARC_MCIP
menuconfig ARC_CACHE menuconfig ARC_CACHE
bool "Enable Cache Support" bool "Enable Cache Support"
default y default y
# if SMP, cache enabled ONLY if ARC implementation has cache coherency
depends on !SMP || ARC_HAS_COH_CACHES
if ARC_CACHE if ARC_CACHE
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
menuconfig ARC_PLAT_EZNPS menuconfig ARC_PLAT_EZNPS
bool "\"EZchip\" ARC dev platform" bool "\"EZchip\" ARC dev platform"
select ARC_HAS_COH_CACHES if SMP
select CPU_BIG_ENDIAN select CPU_BIG_ENDIAN
select CLKSRC_NPS select CLKSRC_NPS
select EZNPS_GIC select EZNPS_GIC
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
menuconfig ARC_PLAT_SIM menuconfig ARC_PLAT_SIM
bool "ARC nSIM based simulation virtual platforms" bool "ARC nSIM based simulation virtual platforms"
select ARC_HAS_COH_CACHES if SMP
help help
Support for nSIM based ARC simulation platforms Support for nSIM based ARC simulation platforms
This includes the standalone nSIM (uart only) vs. System C OSCI VP This includes the standalone nSIM (uart only) vs. System C OSCI VP
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment