powerpc/configs: Add debug config fragment
PATCH 1/1 powerpc/configs: Add debug config fragment
Add a debug config fragment that we can use to put useful debug options into.
Currently we only define a target for powernv[_be]_debug_defconfig, and the only option included is to enable debugfs SCOM access.
Suggested-by Michael Ellerman <[email protected]>
Signed-off-by Andrew Donnellan <[email protected]>
--- arch/powerpc/Makefile | 8 ++++++++ arch/powerpc/configs/debug.config | 1 + 2 files changed, 9 insertions(+) create mode 100644 arch/powerpc/configs/debug.config
arch/powerpc/Makefile +8 -0
@@ -331,6 +331,14 @@ PHONY += powernv_be_defconfig powernv_be_defconfig: $(call merge_into_defconfig,powernv_defconfig,be) +PHONY += powernv_be_debug_defconfig +powernv_be_debug_defconfig: + $(call merge_into_defconfig,powernv_defconfig,be debug) + +PHONY += powernv_debug_defconfig +powernv_debug_defconfig: + $(call merge_into_defconfig,powernv_defconfig,debug) + PHONY += mpc85xx_defconfig mpc85xx_defconfig: $(call merge_into_defconfig,mpc85xx_basic_defconfig,\
arch/powerpc/configs/debug.config new file +1 -0
@@ -0,0 +1 @@ +CONFIG_SCOM_DEBUGFS=y
Signature · 1 line
2.20.1
Michael Ellerman
AppliedQuoted 8 lines · Andrew Donnellan
Add a debug config fragment that we can use to put useful debug options into.
Currently we only define a target for powernv[_be]_debug_defconfig, and the only option included is to enable debugfs SCOM access.
Suggested-by Michael Ellerman <[email protected]>Signed-off-by Andrew Donnellan <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c1bc6f93f95970f917caaac544a374862e84df52
cheers