diff options
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 22acece95b11..464f9b4b3169 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -124,6 +124,16 @@ config IRQSTACKS | |||
124 | for handling hard and soft interrupts. This can help avoid | 124 | for handling hard and soft interrupts. This can help avoid |
125 | overflowing the process kernel stacks. | 125 | overflowing the process kernel stacks. |
126 | 126 | ||
127 | config VIRQ_DEBUG | ||
128 | bool "Expose hardware/virtual IRQ mapping via debugfs" | ||
129 | depends on DEBUG_FS && PPC_MERGE | ||
130 | help | ||
131 | This option will show the mapping relationship between hardware irq | ||
132 | numbers and virtual irq numbers. The mapping is exposed via debugfs | ||
133 | in the file powerpc/virq_mapping. | ||
134 | |||
135 | If you don't know what this means you don't need it. | ||
136 | |||
127 | config BDI_SWITCH | 137 | config BDI_SWITCH |
128 | bool "Include BDI-2000 user context switcher" | 138 | bool "Include BDI-2000 user context switcher" |
129 | depends on DEBUG_KERNEL && PPC32 | 139 | depends on DEBUG_KERNEL && PPC32 |
@@ -211,6 +221,15 @@ config PPC_EARLY_DEBUG_44x | |||
211 | Select this to enable early debugging for IBM 44x chips via the | 221 | Select this to enable early debugging for IBM 44x chips via the |
212 | inbuilt serial port. | 222 | inbuilt serial port. |
213 | 223 | ||
224 | config PPC_EARLY_DEBUG_CPM | ||
225 | bool "Early serial debugging for Freescale CPM-based serial ports" | ||
226 | depends on SERIAL_CPM | ||
227 | select PIN_TLB if PPC_8xx | ||
228 | help | ||
229 | Select this to enable early debugging for Freescale chips | ||
230 | using a CPM-based serial port. This assumes that the bootwrapper | ||
231 | has run, and set up the CPM in a particular way. | ||
232 | |||
214 | endchoice | 233 | endchoice |
215 | 234 | ||
216 | config PPC_EARLY_DEBUG_44x_PHYSLOW | 235 | config PPC_EARLY_DEBUG_44x_PHYSLOW |
@@ -223,4 +242,16 @@ config PPC_EARLY_DEBUG_44x_PHYSHIGH | |||
223 | depends PPC_EARLY_DEBUG_44x | 242 | depends PPC_EARLY_DEBUG_44x |
224 | default "0x1" | 243 | default "0x1" |
225 | 244 | ||
245 | config PPC_EARLY_DEBUG_CPM_ADDR | ||
246 | hex "CPM UART early debug transmit descriptor address" | ||
247 | depends on PPC_EARLY_DEBUG_CPM | ||
248 | default "0xfa202008" if PPC_EP88XC | ||
249 | default "0xf0000008" if CPM2 | ||
250 | default "0xff002008" if CPM1 | ||
251 | help | ||
252 | This specifies the address of the transmit descriptor | ||
253 | used for early debug output. Because it is needed before | ||
254 | platform probing is done, all platforms selected must | ||
255 | share the same address. | ||
256 | |||
226 | endmenu | 257 | endmenu |