diff options
-rw-r--r-- | arch/x86/soc/quark_se/Kconfig | 7 | ||||
-rw-r--r-- | arch/x86/soc/quark_se/soc.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/x86/soc/quark_se/Kconfig b/arch/x86/soc/quark_se/Kconfig index 570050c9a..3eba15b44 100644 --- a/arch/x86/soc/quark_se/Kconfig +++ b/arch/x86/soc/quark_se/Kconfig @@ -39,6 +39,13 @@ config ARC_INIT Allows x86 processor to kickoff the ARC slave processor. config ARC_INIT_DEBUG + bool "Quark SE Sensor Subsystem Debug" + default n + help + Debug the boot initialisation and boot process of the sensor + sub-system. + +config ARC_GDB_ENABLE bool "Allows the usage of GDB with the ARC processor." depends on ARC_INIT default n diff --git a/arch/x86/soc/quark_se/soc.c b/arch/x86/soc/quark_se/soc.c index 8444284f2..9cda608bc 100644 --- a/arch/x86/soc/quark_se/soc.c +++ b/arch/x86/soc/quark_se/soc.c @@ -69,15 +69,16 @@ static int arc_init(struct device *arg) arc_init_debug("Reset vector address: %x\n", *reset_vector); shared_data->arc_start = *reset_vector; shared_data->flags = 0; -#ifndef CONFIG_ARC_INIT_DEBUG if (!shared_data->arc_start) { /* Reset vector points to NULL => skip ARC init. */ arc_init_debug("Reset vector is NULL, skipping ARC init.\n"); goto skip_arc_init; } +#ifndef CONFIG_ARC_GDB_ENABLE /* Start the CPU */ SCSS_REG_VAL(SCSS_SS_CFG) |= ARC_RUN_REQ_A; +#endif arc_init_debug("Waiting for arc to start...\n"); /* Block until the ARC core actually starts up */ @@ -91,7 +92,6 @@ static int arc_init(struct device *arg) } skip_arc_init: -#endif return 0; } |