diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-09-04 01:27:33 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-09-27 05:19:01 -0400 |
commit | 619f30188ff0d10fccc3cd952a79cb56ff62db54 (patch) | |
tree | 9bf015ba703fdd05d781b370792c0bba1f98d373 /arch/arc/plat-arcfpga | |
parent | 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd (diff) |
ARC: Allow SMP kernel to build/boot on UP-only infrastructure
In light of recent SNAFU with SMP build, allow simple platform to build
as SMP but run UP.
* Remove the dependence on simulation SMP extension to enable quick
build/test iterations of SMP kernel.
* In absence of platform SMP registration, prevent the NULL smp feature
name from borkign the system
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-arcfpga')
-rw-r--r-- | arch/arc/plat-arcfpga/Kconfig | 2 | ||||
-rw-r--r-- | arch/arc/plat-arcfpga/platform.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/plat-arcfpga/Kconfig b/arch/arc/plat-arcfpga/Kconfig index b9f34cf55acf..4965f9f4ffdc 100644 --- a/arch/arc/plat-arcfpga/Kconfig +++ b/arch/arc/plat-arcfpga/Kconfig | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | menuconfig ARC_PLAT_FPGA_LEGACY | 9 | menuconfig ARC_PLAT_FPGA_LEGACY |
10 | bool "\"Legacy\" ARC FPGA dev Boards" | 10 | bool "\"Legacy\" ARC FPGA dev Boards" |
11 | select ISS_SMP_EXTN if SMP | 11 | select ARC_HAS_COH_CACHES if SMP |
12 | help | 12 | help |
13 | Support for ARC development boards, provided by Synopsys. | 13 | Support for ARC development boards, provided by Synopsys. |
14 | These are based on FPGA or ISS. e.g. | 14 | These are based on FPGA or ISS. e.g. |
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-arcfpga/platform.c index 1038949a99a1..6abc341e276d 100644 --- a/arch/arc/plat-arcfpga/platform.c +++ b/arch/arc/plat-arcfpga/platform.c | |||
@@ -71,7 +71,7 @@ MACHINE_START(ML509, "ml509") | |||
71 | .dt_compat = ml509_compat, | 71 | .dt_compat = ml509_compat, |
72 | .init_early = plat_fpga_early_init, | 72 | .init_early = plat_fpga_early_init, |
73 | .init_machine = plat_fpga_populate_dev, | 73 | .init_machine = plat_fpga_populate_dev, |
74 | #ifdef CONFIG_SMP | 74 | #ifdef CONFIG_ISS_SMP_EXTN |
75 | .init_smp = iss_model_init_smp, | 75 | .init_smp = iss_model_init_smp, |
76 | #endif | 76 | #endif |
77 | MACHINE_END | 77 | MACHINE_END |