[LEDE-DEV] [PATCH] kernel: add KERNEL_DEBUG_PINCTRL and KERNEL_DEBUG_GPIO

Hauke Mehrtens hauke at hauke-m.de
Wed Dec 7 13:44:45 PST 2016


This makes it possible to activate the gpio and the pinctl debugging
from LEDE menuconfig.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-kernel.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index d8ca76c..3c69c86 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -190,6 +190,14 @@ config KERNEL_MAGIC_SYSRQ
 	bool "Compile the kernel with SysRq support"
 	default y
 
+config KERNEL_DEBUG_PINCTRL
+	bool "Compile the kernel with pinctrl debugging"
+	select KERNEL_DEBUG_KERNEL
+
+config KERNEL_DEBUG_GPIO
+	bool "Compile the kernel with gpio debugging"
+	select KERNEL_DEBUG_KERNEL
+
 config KERNEL_COREDUMP
 	bool
 
-- 
2.10.2




More information about the Lede-dev mailing list