path: root/common
diff options
authorLucas Stach <>2019-11-29 16:14:52 +0100
committerSascha Hauer <>2019-12-02 11:02:21 +0100
commitb874578cdcbd9725ee4e9029b1ea654daa0966cd (patch)
tree2922ceb934cdfe5bd9c5ab192aa2733ea15766f2 /common
parent07b468cd194e2645a008103e463c469a73b3bf84 (diff)
ARM: PBL break is not available on ARMv4
ARMv4 does not support the bkpt mnemonic. Rather than trying to work around this, just disable this feature for ARMv4. On Tegra the PBL runs on the ARM720T co-processor, so we also need to disable the option for this SoC architecture. Signed-off-by: Lucas Stach <> Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'common')
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index d397d8b..60237d3 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1309,7 +1309,7 @@ config DEBUG_INITCALLS
config PBL_BREAK
bool "Execute software break on pbl start"
- depends on ARM
+ depends on ARM && (!CPU_32v4T && !ARCH_TEGRA)
If this enabled, barebox will be compiled with BKPT instruction
on early pbl init. This option should be used only with JTAG debugger!