summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2019-06-24 12:00:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-27 11:05:43 +0200
commitc37cc2d725a496551113f4ebb1d116823eb0dbd1 (patch)
treeb3490041740c7b20c343d885eebba336aac484ef /common/Kconfig
parentd952a0eeba373e5dd2243acae1059d888cc7f3ac (diff)
downloadbarebox-c37cc2d725a496551113f4ebb1d116823eb0dbd1.tar.gz
barebox-c37cc2d725a496551113f4ebb1d116823eb0dbd1.tar.xz
add CONFIG_PBL_BREAK option
With this option barebox will be build with breakpoint instruction in early pbl stage. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index f5777a304c..8aad5baecd 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1287,6 +1287,14 @@ config DEBUG_INITCALLS
help
If enabled this will print initcall traces.
+
+config PBL_BREAK
+ bool "Execute software break on pbl start"
+ depends on ARM
+ help
+ If this enabled, barebox will be compiled with BKPT instruction
+ on early pbl init. This option should be used only with JTAG debugger!
+
endmenu
config HAS_DEBUG_LL