summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-01-19 09:26:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-19 09:26:42 +0100
commit5c3c23f10ac4a478e2f2ab3ff689422c19268022 (patch)
tree63f5c3ebd90fceda6d3574a57497a1941d8d0a0e /common
parentbe1539b920302cfcde300f8e8607d548e1f75b8a (diff)
parent0d1fc926e8ad71d4f4626d58b3b447c1856d3703 (diff)
downloadbarebox-5c3c23f10ac4a478e2f2ab3ff689422c19268022.tar.gz
barebox-5c3c23f10ac4a478e2f2ab3ff689422c19268022.tar.xz
Merge branch 'for-next/riscv'
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index c1a8ef7e20..b319b0fdd2 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1207,6 +1207,18 @@ config DEBUG_LL
platform *will not work*, so this option should not be enabled
for builds that are intended to be portable.
+config ARCH_WANT_FRAME_POINTERS
+ bool
+
+config FRAME_POINTER
+ bool "Compile barebox with frame pointers" if COMPILE_TEST
+ default y if ARCH_WANT_FRAME_POINTERS
+ help
+ Selected by platforms that expect frame pointer usage, e.g.
+ when stack unwinding is enabled. The resulting barebox image
+ will be slightly larger and slower, but it can give precise
+ debugging information when print stack traces.
+
choice
prompt "Kernel low-level debugging port"
depends on DEBUG_LL
@@ -1408,6 +1420,15 @@ config DEBUG_RISCV_VIRT
depends on SOC_VIRT
select DEBUG_LL_NS16550
+config DEBUG_RISCVEMU_HTIF
+ bool "riscvemu HTIF port"
+ depends on SOC_VIRT
+ help
+ When run without graphics support, tinyemu will expose access
+ to the Virt I/O console as HTIF blocking console device as well.
+ This is useful for low level debugging before Virt I/O DMA is
+ initialized.
+
config DEBUG_SIFIVE
bool "SiFive serial0 port"
depends on SOC_SIFIVE