summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 840cb7d34958..60b7b9bd81e8 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -165,8 +165,12 @@ config DEBUG_KERNEL
config LESS_GCC_OPT
bool "Compile with -O1 for debugging"
depends on DEBUG_KERNEL
- default y if TEGRA_SIMULATION_PLATFORM
- default n if !TEGRA_SIMULATION_PLATFORM
+ default n
+ help
+ Enable this if you are using a source level debugger and
+ experience poor correlation between the program counter
+ and the source display. This will reduce kernel peformance
+ and is only used when debugging.
config DEBUG_SHIRQ
bool "Debug shared IRQ handlers"