powerpc/configs: Add debug config fragment
authorAndrew Donnellan <ajd@linux.ibm.com>
Thu, 1 Aug 2019 04:58:55 +0000 (14:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 Oct 2019 10:54:16 +0000 (21:54 +1100)
Add a debug config fragment that we can use to put useful debug
options into.

It can be used like:
  # make foo_defconfig
  # make debug.config

Currently the only option included is to enable debugfs SCOM access.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
[mpe: Drop the special targets, just use the fragment directly]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190801045855.5822-1-ajd@linux.ibm.com
arch/powerpc/configs/debug.config [new file with mode: 0644]

diff --git a/arch/powerpc/configs/debug.config b/arch/powerpc/configs/debug.config
new file mode 100644 (file)
index 0000000..a14ae1f
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_SCOM_DEBUGFS=y