aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-05-10 09:37:50 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-05-10 09:37:50 +0000
commit43fd679efbdbf300dee851fb77eb4240ce51e014 (patch)
tree57c323339e0f6f8f6e0c4a3eb9e6fa7f5a8ee7ab /sys/arm64
parentdbf2eb543bc633369f08829170bf7b55f683707f (diff)
downloadsrc-43fd679efbdbf300dee851fb77eb4240ce51e014.tar.gz
src-43fd679efbdbf300dee851fb77eb4240ce51e014.zip
arm64: Add ALT_BREAK_TO_DEBUGGER to GENERIC
It is useful to enter kdb with an escape sequence. While here move the USB_DEBUG with the others debug options and define nooptions USB_DEBUG for GENERIC-NODEBUG
Notes
Notes: svn path=/head/; revision=333455
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/conf/GENERIC3
-rw-r--r--sys/arm64/conf/GENERIC-NODEBUG2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC
index 42eb99887fbb..c492d9e4389c 100644
--- a/sys/arm64/conf/GENERIC
+++ b/sys/arm64/conf/GENERIC
@@ -90,6 +90,8 @@ options INVARIANT_SUPPORT # Extra sanity checks of internal structures, require
options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
+options ALT_BREAK_TO_DEBUGGER # Enter debugger on keyboard escape sequence
+options USB_DEBUG # enable debug msgs
# SoC support
options SOC_ALLWINNER_A64
@@ -162,7 +164,6 @@ device uart_snps
device pl011
# USB support
-options USB_DEBUG # enable debug msgs
device aw_ehci # Allwinner EHCI USB interface (USB 2.0)
device aw_usbphy # Allwinner USB PHY
device dwcotg # DWC OTG controller
diff --git a/sys/arm64/conf/GENERIC-NODEBUG b/sys/arm64/conf/GENERIC-NODEBUG
index 6758caef62b8..1d7d22d322ce 100644
--- a/sys/arm64/conf/GENERIC-NODEBUG
+++ b/sys/arm64/conf/GENERIC-NODEBUG
@@ -37,4 +37,4 @@ nooptions WITNESS_SKIPSPIN
nooptions BUF_TRACKING
nooptions DEADLKRES
nooptions FULL_BUF_TRACKING
-
+nooptions USB_DEBUG