summaryrefslogtreecommitdiff
path: root/arch/arc/Kconfig
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-10-09 11:26:12 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-10-28 16:08:17 +0530
commit3971cdc202f638f252e39316d42492ace04cc1b1 (patch)
tree74838b53918c8705eda28460a24591ae77cbbf45 /arch/arc/Kconfig
parentf33e9c434b8ce833bd3dd39436bd0799c3e1d1c5 (diff)
ARC: boot: Support Halt-on-reset and Run-on-reset SMP booting modes
For Run-on-reset, non masters need to spin wait. For Halt-on-reset they can jump to entry point directly. Also while at it, made reset vector handler as "the" entry point for kernel including host debugger based boot (which uses the ELF header entry point) Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r--arch/arc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index f50ff986ed60..cc938967282b 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -194,6 +194,16 @@ config NR_CPUS
range 2 4096
default "4"
+config ARC_SMP_HALT_ON_RESET
+ bool "Enable Halt-on-reset boot mode"
+ default y if ARC_UBOOT_SUPPORT
+ help
+ In SMP configuration cores can be configured as Halt-on-reset
+ or they could all start at same time. For Halt-on-reset, non
+ masters are parked until Master kicks them so they can start of
+ at designated entry point. For other case, all jump to common
+ entry point and spin wait for Master's signal.
+
endif #SMP
menuconfig ARC_CACHE